tests: fix up signature tests
This commit is contained in:
parent
700c654208
commit
85ddcaf418
|
@ -69,8 +69,7 @@ test "it returns key" 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
|
||||||
|
|
Loading…
Reference in a new issue