diff options
author | lain <lain@soykaf.club> | 2020-05-19 14:36:13 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-19 14:36:13 +0200 |
commit | 2328eff09c4f3fac8c1c6eea5920ef58b42ac377 (patch) | |
tree | 81118abdb21ff522ba8fa4996898fdc1d177f235 | |
parent | a985bd57b4f0b33639d20ce7db8dc8c574bfff67 (diff) | |
download | pleroma-2328eff09c4f3fac8c1c6eea5920ef58b42ac377.tar.gz |
UserTest: Hide warning in tests.
-rw-r--r-- | test/user_test.exs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index 6b9df60a4..239d16799 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -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" |