diff options
author | rinpatch <rinpatch@sdf.org> | 2020-09-01 09:25:32 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-09-01 10:45:42 +0300 |
commit | 126461942b63bbb74900f296ebcee72d2a33f3d2 (patch) | |
tree | dda738dce0a6236e835650abf752d6ec779803ba /test/web/twitter_api/util_controller_test.exs | |
parent | dc3a418c270e48c6849159097f8bba57d2a2578e (diff) | |
download | pleroma-126461942b63bbb74900f296ebcee72d2a33f3d2.tar.gz pleroma-126461942b63bbb74900f296ebcee72d2a33f3d2.zip |
User table: ensure bio is always a string
Gets rid of '|| ""' in multiple places and fixes #2067
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/util_controller_test.exs | 2 |
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 |