filename and test fixes

This commit is contained in:
Alexander Strizhakov 2020-01-28 18:02:11 +03:00
parent 93b9f226e0
commit 33bd8fbffe
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
3 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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