Fix test; log message no longer emitted here

This commit is contained in:
Mark Felder 2023-12-08 17:46:10 -05:00
parent 074b31d9ab
commit 0d3f1be230
1 changed files with 1 additions and 4 deletions

View File

@ -43,10 +43,7 @@ test "it returns key" do
end end
test "it returns error when not found user" do 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}
assert Signature.fetch_public_key(make_fake_conn("https://test-ap-id")) ==
{:error, :error}
end) =~ "[error] Could not decode user"
end end
test "it returns error if public key is nil" do test "it returns error if public key is nil" do