projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac04ba2
)
Fix test.
author
Roger Braun
<roger@rogerbraun.net>
Sat, 1 Jul 2017 14:39:12 +0000
(16:39 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Sat, 1 Jul 2017 14:39:12 +0000
(16:39 +0200)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 6a7ecca27bc3c009c3c9764b9522b8be97e6bd81..c79564385f261a0114435d60fd8d991d868abd86 100644
(file)
--- a/
test/user_test.exs
+++ b/
test/user_test.exs
@@
-178,7
+178,7
@@
defmodule Pleroma.UserTest do
end
test "it restricts some sizes" do
- [bio:
1
000, name: 100]
+ [bio:
5
000, name: 100]
|> Enum.each(fn ({field, size}) ->
string = String.pad_leading(".", size)
cs = User.remote_user_creation(Map.put(@valid_remote, field, string))