projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'features/validators-audio' into 'develop'
[akkoma]
/
test
/
web
/
instances
/
instance_test.exs
diff --git
a/test/web/instances/instance_test.exs
b/test/web/instances/instance_test.exs
index a3c93b986657de42abbfe80ace3928a2814e0b9b..e463200ca6f56d7c3c000efdd8e34fbdbac8d780 100644
(file)
--- a/
test/web/instances/instance_test.exs
+++ b/
test/web/instances/instance_test.exs
@@
-10,9
+10,7
@@
defmodule Pleroma.Instances.InstanceTest do
import Pleroma.Factory
import Pleroma.Factory
- clear_config_all([:instance, :federation_reachability_timeout_days]) do
- Pleroma.Config.put([:instance, :federation_reachability_timeout_days], 1)
- end
+ setup_all do: clear_config([:instance, :federation_reachability_timeout_days], 1)
describe "set_reachable/1" do
test "clears `unreachable_since` of existing matching Instance record having non-nil `unreachable_since`" do
describe "set_reachable/1" do
test "clears `unreachable_since` of existing matching Instance record having non-nil `unreachable_since`" do