add basic federation to websub.

This commit is contained in:
Roger Braun 2017-04-22 12:07:51 +02:00
commit 77cb260628
2 changed files with 36 additions and 8 deletions

View file

@ -15,7 +15,7 @@ defmodule Pleroma.Web.WebsubTest do
"hub.mode": "subscribe"
} = Keyword.get(options, :params)
assert is_number(seconds)
assert String.to_integer(seconds) > 0
{:ok, %HTTPoison.Response{
status_code: 200,