Commit 2328eff0 authored by lain's avatar lain

UserTest: Hide warning in tests.

parent a985bd57
Pipeline #26096 passed with stages
in 8 minutes and 59 seconds
......@@ -555,6 +555,7 @@ test "gets an existing user by fully qualified nickname, case insensitive" 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment