summaryrefslogtreecommitdiff
path: root/internal/api/client/admin
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-03-31 15:01:29 +0200
committerLibravatar GitHub <noreply@github.com>2023-03-31 15:01:29 +0200
commitd9bbcc60a6cd32282de907a2090c674c4616219e (patch)
treec007cf145ebe24fcc3de420020722a4ea70fb803 /internal/api/client/admin
parent[bugfix] Fix relationship not updating 'following' on accept follow request (... (diff)
downloadgotosocial-d9bbcc60a6cd32282de907a2090c674c4616219e.tar.xz
[bugfix] Fix report serialization errors caused by user delete (#1659)
* [bugfix] Fix report serialization errors caused by user delete * fix tests
Diffstat (limited to 'internal/api/client/admin')
-rw-r--r--internal/api/client/admin/reportsget_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/api/client/admin/reportsget_test.go b/internal/api/client/admin/reportsget_test.go
index 8135ab6ca..67e6103ae 100644
--- a/internal/api/client/admin/reportsget_test.go
+++ b/internal/api/client/admin/reportsget_test.go
@@ -195,7 +195,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {
"ip": "118.44.18.196",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "user"
},
@@ -240,7 +240,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {
"ip": "89.122.255.1",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "admin"
},
@@ -286,7 +286,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {
"ip": "89.122.255.1",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "admin"
},
@@ -345,7 +345,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {
"ip": "118.44.18.196",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "user"
},
@@ -546,7 +546,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetCreatedByAccount() {
"ip": "118.44.18.196",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "user"
},
@@ -747,7 +747,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetTargetAccount() {
"ip": "118.44.18.196",
"ips": [],
"locale": "en",
- "invite_request": "",
+ "invite_request": null,
"role": {
"name": "user"
},