tests: fix up signature tests
This commit is contained in:
parent
700c654208
commit
85ddcaf418
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue