projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5202d4c
)
test: nickname is no longer a required field
author
William Pitcock
<nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:46:06 +0000
(08:46 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:46:06 +0000
(08:46 +0000)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 352a1668771a80e0831b525397802c5166482fd3..5c61b093042328b401dd5948cf0eb8ffa78a7fac 100644
(file)
--- a/
test/user_test.exs
+++ b/
test/user_test.exs
@@
-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?