Fix user deactivation test.
authorlain <lain@soykaf.club>
Sun, 18 Nov 2018 17:40:58 +0000 (18:40 +0100)
committerlain <lain@soykaf.club>
Sun, 18 Nov 2018 17:40:58 +0000 (18:40 +0100)
test/user_test.exs

index 340878f64093ef356a7b9cfa93dc674e01af1cad..6ef88e4923d43257c44862a50b09985e2f80c542 100644 (file)
@@ -41,7 +41,7 @@ defmodule Pleroma.UserTest do
 
   test "can't follow a deactivated users" do
     user = insert(:user)
-    followed = insert(:user, info: %{"deactivated" => true})
+    followed = insert(:user, info: %{deactivated: true})
 
     {:error, _} = User.follow(user, followed)
   end