summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/util_controller_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-09-01 09:32:01 +0000
committerlain <lain@soykaf.club>2020-09-01 09:32:01 +0000
commitd48755791ddfea0b30bc5a843dfc4181efd63982 (patch)
treedda738dce0a6236e835650abf752d6ec779803ba /test/web/twitter_api/util_controller_test.exs
parent9d63b2c9db88ffdeb608df427caf2996eb0bb094 (diff)
parent126461942b63bbb74900f296ebcee72d2a33f3d2 (diff)
downloadpleroma-d48755791ddfea0b30bc5a843dfc4181efd63982.tar.gz
pleroma-d48755791ddfea0b30bc5a843dfc4181efd63982.zip
Merge branch 'fix/static-fe-nil-bio-crash' into 'develop'
User table: ensure bio is always a string Closes #2067 See merge request pleroma/pleroma!2938
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r--test/web/twitter_api/util_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs
index 354d77b56..d164127ee 100644
--- a/test/web/twitter_api/util_controller_test.exs
+++ b/test/web/twitter_api/util_controller_test.exs
@@ -594,7 +594,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
user = User.get_by_id(user.id)
assert user.deactivated == true
assert user.name == nil
- assert user.bio == nil
+ assert user.bio == ""
assert user.password_hash == nil
end
end