ignore order
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 13 May 2020 07:17:47 +0000 (10:17 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Wed, 13 May 2020 08:38:23 +0000 (11:38 +0300)
test/config/config_db_test.exs

index 6b0e7b4b64c4b5606ae8377ee01ddbb08363c8e2..a8e94736597a19cf3d05290a80d09278fec66778 100644 (file)
@@ -43,11 +43,9 @@ defmodule Pleroma.ConfigDBTest do
              {ConfigDB.from_string(saved.key), ConfigDB.from_binary(saved.value)}
            ]
 
-    assert config[:quack] == [
-             level: :info,
-             meta: [:none],
-             webhook_url: "https://hooks.slack.com/services/KEY/some_val"
-           ]
+    assert config[:quack][:level] == :info
+    assert config[:quack][:meta] == [:none]
+    assert config[:quack][:webhook_url] == "https://hooks.slack.com/services/KEY/some_val"
   end
 
   describe "update_or_create/1" do