commit: 0d3f1be2307c778c3f1e59139a45341a57433de2
parent 074b31d9ab30bbecba3fff4335dfec39af5cf9b8
Author: Mark Felder <feld@feld.me>
Date: Fri, 8 Dec 2023 17:46:10 -0500
Fix test; log message no longer emitted here
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/test/pleroma/signature_test.exs b/test/pleroma/signature_test.exs
@@ -43,10 +43,7 @@ defmodule Pleroma.SignatureTest do
end
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}
- end) =~ "[error] Could not decode user"
+ assert Signature.fetch_public_key(make_fake_conn("https://test-ap-id")) == {:error, :error}
end
test "it returns error if public key is nil" do