summaryrefslogtreecommitdiff
path: root/internal/api/client/reports/reportsget_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-02-16 14:20:23 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-16 13:20:23 +0000
commitb5993095fad2d18ce29e92b0ae1e5e1450bd7f4a (patch)
tree27714bd915eabf8f8f0ca52a5a2ec35864ba93c1 /internal/api/client/reports/reportsget_test.go
parent[bugfix] Set cache-control max-age dynamically for s3 (#1510) (diff)
downloadgotosocial-b5993095fad2d18ce29e92b0ae1e5e1450bd7f4a.tar.xz
[bugfix] Set 'discoverable' properly on API accounts (#1511)v0.7.0
Diffstat (limited to 'internal/api/client/reports/reportsget_test.go')
-rw-r--r--internal/api/client/reports/reportsget_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/reports/reportsget_test.go b/internal/api/client/reports/reportsget_test.go
index e970d9c8f..fc143bcdd 100644
--- a/internal/api/client/reports/reportsget_test.go
+++ b/internal/api/client/reports/reportsget_test.go
@@ -140,6 +140,7 @@ func (suite *ReportsGetTestSuite) TestGetReports() {
"acct": "foss_satan@fossbros-anonymous.io",
"display_name": "big gerald",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2021-09-26T10:52:36.000Z",
"note": "i post about like, i dunno, stuff, or whatever!!!!",
@@ -226,6 +227,7 @@ func (suite *ReportsGetTestSuite) TestGetReports4() {
"acct": "foss_satan@fossbros-anonymous.io",
"display_name": "big gerald",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2021-09-26T10:52:36.000Z",
"note": "i post about like, i dunno, stuff, or whatever!!!!",
@@ -296,6 +298,7 @@ func (suite *ReportsGetTestSuite) TestGetReports6() {
"acct": "foss_satan@fossbros-anonymous.io",
"display_name": "big gerald",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2021-09-26T10:52:36.000Z",
"note": "i post about like, i dunno, stuff, or whatever!!!!",
@@ -350,6 +353,7 @@ func (suite *ReportsGetTestSuite) TestGetReports7() {
"acct": "foss_satan@fossbros-anonymous.io",
"display_name": "big gerald",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2021-09-26T10:52:36.000Z",
"note": "i post about like, i dunno, stuff, or whatever!!!!",