Don't reject already accepted subscriptions.
This commit is contained in:
parent
2b980dea2f
commit
b4f055b604
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue