test: nickname is no longer a required field

This commit is contained in:
William Pitcock 2018-08-06 08:46:06 +00:00
parent 5202d4ce10
commit aea23468c6

View file

@ -220,7 +220,7 @@ test "it enforces the fqn format for nicknames" 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?