projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/no-email-no-fail' into 'develop'
[akkoma]
/
test
/
signature_test.exs
diff --git
a/test/signature_test.exs
b/test/signature_test.exs
index ada1b1054493d31be5d5648947c2c02fd2b57b16..04736d8b9b788e7a0b85265c53840704679a4414 100644
(file)
--- a/
test/signature_test.exs
+++ b/
test/signature_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.SignatureTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.SignatureTest do
@@
-69,8
+69,7
@@
defmodule Pleroma.SignatureTest do
test "it returns error when not found user" do
assert capture_log(fn ->
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
end) =~ "[error] Could not decode user"
end
end