projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700c654
)
tests: fix up signature tests
author
Ariadne Conill
<ariadne@dereferenced.org>
Fri, 18 Oct 2019 02:56:02 +0000
(
02:56
+0000)
committer
Ariadne Conill
<ariadne@dereferenced.org>
Fri, 18 Oct 2019 14:50:10 +0000
(14:50 +0000)
test/signature_test.exs
patch
|
blob
|
history
diff --git
a/test/signature_test.exs
b/test/signature_test.exs
index 96c8ba07ac213ab88dcef1a8611bbbeeacfc6c5b..6b168f2d993d48528b0ecd215b4f63824a6d591a 100644
(file)
--- a/
test/signature_test.exs
+++ b/
test/signature_test.exs
@@
-69,8
+69,7
@@
defmodule Pleroma.SignatureTest do
test "it returns error when not found user" do
assert capture_log(fn ->
- assert Signature.refetch_public_key(make_fake_conn("test-ap_id")) ==
- {:error, {:error, :ok}}
+ {:error, _} = Signature.refetch_public_key(make_fake_conn("test-ap_id"))
end) =~ "[error] Could not decode user"
end
end