Skip to content

Commit

Permalink
Ensure a unique name in isolated notifier test
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Apr 6, 2024
1 parent 5743f21 commit a732e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/oban/notifier_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for notifier <- [Oban.Notifiers.Isolated, Oban.Notifiers.PG, Oban.Notifiers.Post
end

test "returning an error without a live notifier process" do
conf = Config.new(repo: Repo, notifier: @notifier)
conf = Config.new(name: make_ref(), repo: Repo, notifier: @notifier)

assert {:error, %RuntimeError{}} = Notifier.notify(conf, :signal, %{})
end
Expand Down

0 comments on commit a732e9f

Please sign in to comment.