add mandatory fields for user update
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>
Mon, 2 Sep 2019 11:35:55 +0000 (12:35 +0100)
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>
Mon, 2 Sep 2019 11:35:55 +0000 (12:35 +0100)
test/user_test.exs

index 0ca310331e8c27a2199eeb049d9b5021ab6e99eb..92a48f630a15f45783d5a48fea759ff9233ec0ea 100644 (file)
@@ -1131,6 +1131,8 @@ defmodule Pleroma.UserTest do
 
       data = %{
         ap_id: user.ap_id,
+        name: user.name,
+        nickname: user.nickname,
         info: %{
           fields: [
             %{"name" => "myfield", "value" => String.duplicate("h", current_max_length + 1)}