UserTest: Hide warning in tests.

This commit is contained in:
lain 2020-05-19 14:36:13 +02:00
parent a985bd57b4
commit 2328eff09c

View file

@ -555,6 +555,7 @@ defmodule Pleroma.UserTest do
assert user == fetched_user
end
@tag capture_log: true
test "returns nil if no user could be fetched" do
{:error, fetched_user} = User.get_or_fetch_by_nickname("nonexistant@social.heldscal.la")
assert fetched_user == "not found nonexistant@social.heldscal.la"