Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
aea23468
Commit
aea23468
authored
Aug 06, 2018
by
kaniini
Browse files
test: nickname is no longer a required field
parent
5202d4ce
Changes
1
Show whitespace changes
Inline
Side-by-side
test/user_test.exs
View file @
aea23468
...
...
@@ -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?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment