right test

This commit is contained in:
Alexander Strizhakov 2020-01-25 19:21:21 +03:00
parent e93cc561cd
commit ac97d01fb6
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -119,7 +119,10 @@ test "don't restart if no reboot time settings were changed" do
value: [groups: [a: 1, b: 2]] value: [groups: [a: 1, b: 2]]
}) })
assert capture_log(fn -> TransferTask.start_link([]) end) =~ "" refute String.contains?(
capture_log(fn -> TransferTask.start_link([]) end),
"pleroma restarted"
)
end end
test "restart pleroma on reboot time key" do test "restart pleroma on reboot time key" do