Fix test.

This commit is contained in:
Roger Braun 2017-07-01 16:39:12 +02:00
parent ac04ba240a
commit 9cda5b897a

View File

@ -178,7 +178,7 @@ defmodule Pleroma.UserTest 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))