projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into refactor/approval_pending_user_field
[akkoma]
/
test
/
mix
/
tasks
/
pleroma
/
instance_test.exs
diff --git
a/test/mix/tasks/pleroma/instance_test.exs
b/test/mix/tasks/pleroma/instance_test.exs
index 7eaef75bfcabcf7852dc1864e18e16d504362c5e..5a5a680533a9ad751abb3b675458e79b3bfd4921 100644
(file)
--- a/
test/mix/tasks/pleroma/instance_test.exs
+++ b/
test/mix/tasks/pleroma/instance_test.exs
@@
-1,9
+1,10
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.InstanceTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.InstanceTest do
- use Pleroma.DataCase, async: true
+ # Modifies the Application Environment, has to stay synchronous.
+ use Pleroma.DataCase
setup do
File.mkdir_p!(tmp_path())
setup do
File.mkdir_p!(tmp_path())
@@
-17,6
+18,9
@@
defmodule Mix.Tasks.Pleroma.InstanceTest do
end
end)
end
end)
+ # Is being modified by the mix task.
+ clear_config([:instance, :static_dir])
+
:ok
end
:ok
end