From 0e29f1f5bb68a48d9b837d7f4e0a16370734955b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 9 May 2023 12:16:10 +0200 Subject: [feature] Enable federation in/out of profile PropertyValue fields (#1722) Co-authored-by: kim Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> --- internal/api/client/admin/reportsget_test.go | 52 +++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 4 deletions(-) (limited to 'internal/api/client/admin/reportsget_test.go') diff --git a/internal/api/client/admin/reportsget_test.go b/internal/api/client/admin/reportsget_test.go index 67e6103ae..fae21dc07 100644 --- a/internal/api/client/admin/reportsget_test.go +++ b/internal/api/client/admin/reportsget_test.go @@ -224,7 +224,18 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() { "statuses_count": 7, "last_status_at": "2021-10-20T10:40:37.000Z", "emojis": [], - "fields": [], + "fields": [ + { + "name": "should you follow me?", + "value": "maybe!", + "verified_at": null + }, + { + "name": "age", + "value": "120", + "verified_at": null + } + ], "role": { "name": "user" } @@ -374,7 +385,18 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() { "statuses_count": 7, "last_status_at": "2021-10-20T10:40:37.000Z", "emojis": [], - "fields": [], + "fields": [ + { + "name": "should you follow me?", + "value": "maybe!", + "verified_at": null + }, + { + "name": "age", + "value": "120", + "verified_at": null + } + ], "role": { "name": "user" } @@ -575,7 +597,18 @@ func (suite *ReportsGetTestSuite) TestReportsGetCreatedByAccount() { "statuses_count": 7, "last_status_at": "2021-10-20T10:40:37.000Z", "emojis": [], - "fields": [], + "fields": [ + { + "name": "should you follow me?", + "value": "maybe!", + "verified_at": null + }, + { + "name": "age", + "value": "120", + "verified_at": null + } + ], "role": { "name": "user" } @@ -776,7 +809,18 @@ func (suite *ReportsGetTestSuite) TestReportsGetTargetAccount() { "statuses_count": 7, "last_status_at": "2021-10-20T10:40:37.000Z", "emojis": [], - "fields": [], + "fields": [ + { + "name": "should you follow me?", + "value": "maybe!", + "verified_at": null + }, + { + "name": "age", + "value": "120", + "verified_at": null + } + ], "role": { "name": "user" } -- cgit v1.2.3