From 0eabe4b3ab160356d83c7a1aa394317d8845d8c8 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 20 Apr 2026 06:27:30 +0100 Subject: [PATCH] Assert import count > 0 in options-forwarding test Refs #176 --- test/last_fm/import_test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/last_fm/import_test.exs b/test/last_fm/import_test.exs index 2b491fcb..4dd7df39 100644 --- a/test/last_fm/import_test.exs +++ b/test/last_fm/import_test.exs @@ -26,7 +26,8 @@ defmodule LastFm.ImportTest do Req.Test.json(conn, RecentTracks.get()) end) - assert {:ok, _count} = LastFm.Import.batch(limit: 50, to_uts: 1_730_600_000) + assert {:ok, count} = LastFm.Import.batch(limit: 50, to_uts: 1_730_600_000) + assert count > 0 end @tag :capture_log