Fix test.
This commit is contained in:
parent
ac04ba240a
commit
9cda5b897a
|
@ -178,7 +178,7 @@ test "it has required fields" do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "it restricts some sizes" do
|
test "it restricts some sizes" do
|
||||||
[bio: 1000, name: 100]
|
[bio: 5000, name: 100]
|
||||||
|> Enum.each(fn ({field, size}) ->
|
|> Enum.each(fn ({field, size}) ->
|
||||||
string = String.pad_leading(".", size)
|
string = String.pad_leading(".", size)
|
||||||
cs = User.remote_user_creation(Map.put(@valid_remote, field, string))
|
cs = User.remote_user_creation(Map.put(@valid_remote, field, string))
|
||||||
|
|
Loading…
Reference in a new issue