projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add function to fetch users from fqn.
[akkoma]
/
test
/
support
/
factory.ex
diff --git
a/test/support/factory.ex
b/test/support/factory.ex
index d037be4a622a5fba90d6b8076ddbe1d5a86eca35..ac276567a0f6a1902514d393affd772049f3970a 100644
(file)
--- a/
test/support/factory.ex
+++ b/
test/support/factory.ex
@@
-76,4
+76,14
@@
defmodule Pleroma.Factory do
state: "requested"
}
end
state: "requested"
}
end
+
+ def websub_client_subscription_factory do
+ %Pleroma.Web.Websub.WebsubClientSubscription{
+ topic: "http://example.org",
+ secret: "here's a secret",
+ valid_until: nil,
+ state: "requested",
+ subscribers: []
+ }
+ end
end
end