Add function to fetch users from fqn.
[akkoma] / test / web / websub / websub_test.exs
index 25c2b8baae6068d1e0690621aa18cab4570a7807..ad312cd25017fd748f9f6995cf2c41de6eb3f0b6 100644 (file)
@@ -118,7 +118,9 @@ defmodule Pleroma.Web.WebsubTest do
       hub: "https://mastodon.social/api/push",
       uri: "https://mastodon.social/users/lambadalambda",
       nickname: "lambadalambda",
-      name: "Critical Value"
+      name: "Critical Value",
+      host: "mastodon.social",
+      avatar: %{"type" => "Image", "url" => [%{"href" => "https://files.mastodon.social/accounts/avatars/000/000/264/original/1429214160519.gif?1492379244", "mediaType" => "image/gif", "type" => "Link"}]}
     }
 
     assert expected == discovered