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 @@ defmodule Pleroma.Mixfile do
git: "https://git.pleroma.social/pleroma/elixir-libraries/elixir-captcha.git", git: "https://git.pleroma.social/pleroma/elixir-libraries/elixir-captcha.git",
ref: "e0f16822d578866e186a0974d65ad58cddc1e2ab"}, ref: "e0f16822d578866e186a0974d65ad58cddc1e2ab"},
{:mox, "~> 0.5", only: :test}, {:mox, "~> 0.5", only: :test},
{:restarter, path: "../restarter"} {:restarter, path: "./restarter"}
] ++ oauth_deps() ] ++ oauth_deps()
end end

View file

@ -172,7 +172,10 @@ defmodule Pleroma.Config.TransferTaskTest do
value: [seconds_valid: 60] 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 end
end end