tests: fix up signature tests

This commit is contained in:
Ariadne Conill 2019-10-18 02:56:02 +00:00
parent 700c654208
commit 85ddcaf418
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@ test "it returns key" 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