Commit aea23468 authored by kaniini's avatar kaniini

test: nickname is no longer a required field

parent 5202d4ce
......@@ -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?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment