add mandatory fields for user update

This commit is contained in:
Sadposter 2019-09-02 12:35:55 +01:00
parent d0f07e55d2
commit e73685834c

View File

@ -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)}