User table: ensure bio is always a string
Gets rid of '|| ""' in multiple places and fixes #2067
This commit is contained in:
parent
dc3a418c27
commit
126461942b
11 changed files with 27 additions and 10 deletions
|
|
@ -203,7 +203,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
|
|||
assert user.note_count == 0
|
||||
assert user.follower_count == 0
|
||||
assert user.following_count == 0
|
||||
assert user.bio == nil
|
||||
assert user.bio == ""
|
||||
assert user.name == nil
|
||||
|
||||
assert called(Pleroma.Web.Federator.publish(:_))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue