Fix test; log message no longer emitted here
This commit is contained in:
parent
074b31d9ab
commit
0d3f1be230
@ -43,10 +43,7 @@ defmodule Pleroma.SignatureTest do
|
||||
end
|
||||
|
||||
test "it returns error when not found user" do
|
||||
assert capture_log(fn ->
|
||||
assert Signature.fetch_public_key(make_fake_conn("https://test-ap-id")) ==
|
||||
{:error, :error}
|
||||
end) =~ "[error] Could not decode user"
|
||||
assert Signature.fetch_public_key(make_fake_conn("https://test-ap-id")) == {:error, :error}
|
||||
end
|
||||
|
||||
test "it returns error if public key is nil" do
|
||||
|
Loading…
Reference in New Issue
Block a user