mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 02:12:24 -05:00
[bugfix] Fix report serialization errors caused by user delete (#1659)
* [bugfix] Fix report serialization errors caused by user delete * fix tests
This commit is contained in:
parent
344c7e5cbd
commit
d9bbcc60a6
6 changed files with 430 additions and 20 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue