forked from AkkomaGang/akkoma
filename and test fixes
This commit is contained in:
parent
93b9f226e0
commit
33bd8fbffe
3 changed files with 5 additions and 2 deletions
2
mix.exs
2
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue