test: nickname is no longer a required field
authorWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:46:06 +0000 (08:46 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:46:06 +0000 (08:46 +0000)
test/user_test.exs

index 352a1668771a80e0831b525397802c5166482fd3..5c61b093042328b401dd5948cf0eb8ffa78a7fac 100644 (file)
@@ -220,7 +220,7 @@ defmodule Pleroma.UserTest do
     end
 
     test "it has required fields" do
-      [:name, :nickname, :ap_id]
+      [:name, :ap_id]
       |> Enum.each(fn field ->
         cs = User.remote_user_creation(Map.delete(@valid_remote, field))
         refute cs.valid?