forked from AkkomaGang/akkoma
Apply suggestion to test/tasks/instance_test.exs
This commit is contained in:
parent
1b2e4a0ae0
commit
dd4263da5a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ defmodule Pleroma.InstanceTest do
|
||||||
|
|
||||||
on_exit(fn ->
|
on_exit(fn ->
|
||||||
File.rm_rf(tmp_path())
|
File.rm_rf(tmp_path())
|
||||||
static_dir = Pleroma.Config.get([:instance, :static_dir], "instance/static/")
|
static_dir = Pleroma.Config.get([:instance, :static_dir], "test/instance_static/")
|
||||||
|
|
||||||
if File.exists?(static_dir) do
|
if File.exists?(static_dir) do
|
||||||
File.rm_rf(Path.join(static_dir, "robots.txt"))
|
File.rm_rf(Path.join(static_dir, "robots.txt"))
|
||||||
|
|
Loading…
Reference in a new issue