Assorted fixes.
This commit is contained in:
parent
d407f662af
commit
48b95a9b95
5 changed files with 19 additions and 15 deletions
|
|
@ -99,7 +99,7 @@ defmodule Pleroma.Web.WebsubTest do
|
|||
|
||||
test "initiate a subscription for a given user and topic" do
|
||||
subscriber = insert(:user)
|
||||
user = insert(:user, %{info: %{"topic" => "some_topic", "hub" => "some_hub"}})
|
||||
user = insert(:user, %{info: %Pleroma.User.Info{topic: "some_topic", hub: "some_hub"}})
|
||||
|
||||
{:ok, websub} = Websub.subscribe(subscriber, user, &accepting_verifier/1)
|
||||
assert websub.subscribers == [subscriber.ap_id]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue