mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 08:16:16 +00:00
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 a new issue