Apply suggestion to test/tasks/instance_test.exs
authorMaksim <parallel588@gmail.com>
Wed, 25 Sep 2019 17:47:22 +0000 (17:47 +0000)
committerMaksim <parallel588@gmail.com>
Wed, 25 Sep 2019 17:47:22 +0000 (17:47 +0000)
test/tasks/instance_test.exs

index a3b0dcb50a15b724d420c1d64005509c265ba0dd..6d7eed4c1477186bd134329d5266711f9af57127 100644 (file)
@@ -10,7 +10,7 @@ defmodule Pleroma.InstanceTest do
 
     on_exit(fn ->
       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
         File.rm_rf(Path.join(static_dir, "robots.txt"))