giant massive dep upgrade and dialyxir-found error emporium (#371)
[akkoma] / test / pleroma / signature_test.exs
index e3ae36b465c88948309fa5ec4e07241eb3ff6afa..59674bbc07bd46171a948385336551c742ab023e 100644 (file)
@@ -116,7 +116,7 @@ defmodule Pleroma.SignatureTest do
 
     test "it calls webfinger for 'acct:' accounts" do
       with_mock(Pleroma.Web.WebFinger,
-        finger: fn _ -> %{"ap_id" => "https://gensokyo.2hu/users/raymoo"} end
+        finger: fn _ -> {:ok, %{"ap_id" => "https://gensokyo.2hu/users/raymoo"}} end
       ) do
         assert Signature.key_id_to_actor_id("acct:raymoo@gensokyo.2hu") ==
                  {:ok, "https://gensokyo.2hu/users/raymoo"}