filename and test fixes
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 28 Jan 2020 15:02:11 +0000 (18:02 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 28 Jan 2020 15:02:11 +0000 (18:02 +0300)
mix.exs
restarter/mix.exs [moved from restarter/mix .exs with 100% similarity]
test/config/transfer_task_test.exs

diff --git a/mix.exs b/mix.exs
index 2608f986e102c688e8efe07176500c57413150bc..8cbea6f75adf01c9b34cfcef33caf5c9dcde7608 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -172,7 +172,7 @@ defmodule Pleroma.Mixfile do
        git: "https://git.pleroma.social/pleroma/elixir-libraries/elixir-captcha.git",
        ref: "e0f16822d578866e186a0974d65ad58cddc1e2ab"},
       {:mox, "~> 0.5", only: :test},
-      {:restarter, path: "../restarter"}
+      {:restarter, path: "./restarter"}
     ] ++ oauth_deps()
   end
 
similarity index 100%
rename from restarter/mix .exs
rename to restarter/mix.exs
index 61ab1440dc080b8d30049e970240677456ab0631..ebdc951cf71576e4052bc1da498ac1b79db435f7 100644 (file)
@@ -172,7 +172,10 @@ defmodule Pleroma.Config.TransferTaskTest do
         value: [seconds_valid: 60]
       })
 
-      assert capture_log(fn -> TransferTask.load_and_update_env([], false) end) =~ ""
+      refute String.contains?(
+               capture_log(fn -> TransferTask.load_and_update_env([], false) end),
+               "pleroma restarted"
+             )
     end
   end
 end