Merge branch 'develop' into feature/activitypub
[akkoma] / test / web / websub / websub_test.exs
index aaed9226ef19aa1e86af3d80aa03c8a39c515360..6b2c612addcc93c74f7b809ab92aa17b6113114a 100644 (file)
@@ -46,7 +46,8 @@ defmodule Pleroma.Web.WebsubTest do
     end
 
     {:error, sub} = Websub.verify(sub, getter)
-    assert sub.state == "rejected"
+    # Keep the current state.
+    assert sub.state == "requested"
   end
 
   test "an incoming subscription request" do
@@ -120,6 +121,7 @@ defmodule Pleroma.Web.WebsubTest do
       "nickname" => "lambadalambda",
       "name" => "Critical Value",
       "host" => "mastodon.social",
+      "bio" => "a cool dude.",
       "avatar" => %{"type" => "Image", "url" => [%{"href" => "https://files.mastodon.social/accounts/avatars/000/000/264/original/1429214160519.gif?1492379244", "mediaType" => "image/gif", "type" => "Link"}]}
     }