From 33bd8fbffea79b8ca510a098ad4654b8f01324d6 Mon Sep 17 00:00:00 2001 From: Alexander Strizhakov Date: Tue, 28 Jan 2020 18:02:11 +0300 Subject: [PATCH] filename and test fixes --- mix.exs | 2 +- restarter/{mix .exs => mix.exs} | 0 test/config/transfer_task_test.exs | 5 ++++- 3 files changed, 5 insertions(+), 2 deletions(-) rename restarter/{mix .exs => mix.exs} (100%) diff --git a/mix.exs b/mix.exs index 2608f986e..8cbea6f75 100644 --- a/mix.exs +++ b/mix.exs @@ -172,7 +172,7 @@ defp deps 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 diff --git a/restarter/mix .exs b/restarter/mix.exs similarity index 100% rename from restarter/mix .exs rename to restarter/mix.exs diff --git a/test/config/transfer_task_test.exs b/test/config/transfer_task_test.exs index 61ab1440d..ebdc951cf 100644 --- a/test/config/transfer_task_test.exs +++ b/test/config/transfer_task_test.exs @@ -172,7 +172,10 @@ test "don't restart pleroma on reboot time key and subkey if there is false flag 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