Replace deprecated {:discard, _} with {:cancel, _}

This commit is contained in:
Claudio Ortolina
2026-04-01 09:38:05 +01:00
parent 320a131370
commit 7f406ce455
3 changed files with 3 additions and 3 deletions
@@ -41,7 +41,7 @@ defmodule MusicLibrary.Worker.FetchArtistInfoTest do
Req.Test.json(conn, Wikipedia.Fixtures.wikidata_response_no_enwiki())
end)
assert {:discard, :no_english_wikipedia} =
assert {:cancel, :no_english_wikipedia} =
perform_job(FetchArtistInfo, %{"id" => @steven_wilson_mbid})
end