Remove duplicated test
This commit is contained in:
@@ -67,14 +67,7 @@ defmodule MusicLibrary.Worker.ApplyScrobbleRulesTest do
|
|||||||
assert updated_track2.album.musicbrainz_id in [nil, ""]
|
assert updated_track2.album.musicbrainz_id in [nil, ""]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "handles errors gracefully" do
|
|
||||||
# Since we can't easily mock here, let's test with no rules
|
|
||||||
# which should still return :ok
|
|
||||||
assert :ok = ApplyScrobbleRules.perform(%Oban.Job{args: %{}})
|
|
||||||
end
|
|
||||||
|
|
||||||
test "handles empty rules list" do
|
test "handles empty rules list" do
|
||||||
# No rules exist
|
|
||||||
assert :ok = ApplyScrobbleRules.perform(%Oban.Job{args: %{}})
|
assert :ok = ApplyScrobbleRules.perform(%Oban.Job{args: %{}})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user