From: Ariadne Conill Date: Fri, 18 Oct 2019 02:56:02 +0000 (+0000) Subject: tests: fix up signature tests X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=85ddcaf418bd24722ea222e0fe19d538675ee784;p=akkoma tests: fix up signature tests --- diff --git a/test/signature_test.exs b/test/signature_test.exs index 96c8ba07a..6b168f2d9 100644 --- a/test/signature_test.exs +++ b/test/signature_test.exs @@ -69,8 +69,7 @@ defmodule Pleroma.SignatureTest 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