projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a985bd5
)
UserTest: Hide warning in tests.
author
lain
<lain@soykaf.club>
Tue, 19 May 2020 12:36:13 +0000
(14:36 +0200)
committer
lain
<lain@soykaf.club>
Tue, 19 May 2020 12:36:13 +0000
(14:36 +0200)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 6b9df60a422075807cdabe743e5411b0040c54fa..239d167994c0e9a92a0725b7a6c962311e67157e 100644
(file)
--- 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"