tests: fix up signature tests

This commit is contained in:
Ariadne Conill 2019-10-18 02:56:02 +00:00
parent 700c654208
commit 85ddcaf418

View File

@ -69,8 +69,7 @@ defmodule Pleroma.SignatureTest do
test "it returns error when not found user" do test "it returns error when not found user" do
assert capture_log(fn -> assert capture_log(fn ->
assert Signature.refetch_public_key(make_fake_conn("test-ap_id")) == {:error, _} = Signature.refetch_public_key(make_fake_conn("test-ap_id"))
{:error, {:error, :ok}}
end) =~ "[error] Could not decode user" end) =~ "[error] Could not decode user"
end end
end end