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 gun
[akkoma]
/
test
/
tasks
/
instance_test.exs
diff --git
a/test/tasks/instance_test.exs
b/test/tasks/instance_test.exs
index d69275726e280c11e19c8296b3c90c7a741a07d7..a0cc5d7c7d57250c1746eaf9298e2c55d232459e 100644
(file)
--- a/
test/tasks/instance_test.exs
+++ b/
test/tasks/instance_test.exs
@@
-3,7
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.InstanceTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.InstanceTest do
- use ExUnit.Case
, async: true
+ use ExUnit.Case
setup do
File.mkdir_p!(tmp_path())
setup do
File.mkdir_p!(tmp_path())
@@
-15,6
+15,8
@@
defmodule Pleroma.InstanceTest do
if File.exists?(static_dir) do
File.rm_rf(Path.join(static_dir, "robots.txt"))
end
if File.exists?(static_dir) do
File.rm_rf(Path.join(static_dir, "robots.txt"))
end
+
+ Pleroma.Config.put([:instance, :static_dir], static_dir)
end)
:ok
end)
:ok