add mandatory fields for user update
This commit is contained in:
parent
d0f07e55d2
commit
e73685834c
@ -1131,6 +1131,8 @@ defmodule Pleroma.UserTest do
|
|||||||
|
|
||||||
data = %{
|
data = %{
|
||||||
ap_id: user.ap_id,
|
ap_id: user.ap_id,
|
||||||
|
name: user.name,
|
||||||
|
nickname: user.nickname,
|
||||||
info: %{
|
info: %{
|
||||||
fields: [
|
fields: [
|
||||||
%{"name" => "myfield", "value" => String.duplicate("h", current_max_length + 1)}
|
%{"name" => "myfield", "value" => String.duplicate("h", current_max_length + 1)}
|
||||||
|
Loading…
Reference in New Issue
Block a user