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
|
|
@ -1466,7 +1466,7 @@ defmodule Pleroma.UserTest do
|
|||
user = User.get_by_id(user.id)
|
||||
|
||||
assert %User{
|
||||
bio: nil,
|
||||
bio: "",
|
||||
raw_bio: nil,
|
||||
email: nil,
|
||||
name: nil,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue