projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix hellthread threshold deprecation warning
[akkoma]
/
test
/
support
/
factory.ex
diff --git
a/test/support/factory.ex
b/test/support/factory.ex
index 4ac77981a76de3d021cf4738ca060c3f0d889ac0..0c21093cef5c3f7c4a8082d29a7f2d49623ffa66 100644
(file)
--- a/
test/support/factory.ex
+++ b/
test/support/factory.ex
@@
-193,7
+193,7
@@
defmodule Pleroma.Factory do
def websub_subscription_factory do
%Pleroma.Web.Websub.WebsubServerSubscription{
topic: "http://example.org",
def websub_subscription_factory do
%Pleroma.Web.Websub.WebsubServerSubscription{
topic: "http://example.org",
- callback: "http://example
/
org/callback",
+ callback: "http://example
.
org/callback",
secret: "here's a secret",
valid_until: NaiveDateTime.add(NaiveDateTime.utc_now(), 100),
state: "requested"
secret: "here's a secret",
valid_until: NaiveDateTime.add(NaiveDateTime.utc_now(), 100),
state: "requested"
@@
-220,4
+220,11
@@
defmodule Pleroma.Factory do
client_secret: "aaa;/&bbb"
}
end
client_secret: "aaa;/&bbb"
}
end
+
+ def instance_factory do
+ %Pleroma.Instances.Instance{
+ host: "domain.com",
+ unreachable_since: nil
+ }
+ end
end
end