right test
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Sat, 25 Jan 2020 16:21:21 +0000 (19:21 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Sat, 25 Jan 2020 16:21:21 +0000 (19:21 +0300)
test/config/transfer_task_test.exs

index 0d328f0c32b66f994303001bcce9667c20fdfece..61ab1440dc080b8d30049e970240677456ab0631 100644 (file)
@@ -119,7 +119,10 @@ defmodule Pleroma.Config.TransferTaskTest do
         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
 
     test "restart pleroma on reboot time key" do