summaryrefslogtreecommitdiff
path: root/internal/api/client/instance/instancepatch_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/instance/instancepatch_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/instance/instancepatch_test.go')
-rw-r--r--internal/api/client/instance/instancepatch_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go
index 8833014f0..9233bc2b9 100644
--- a/internal/api/client/instance/instancepatch_test.go
+++ b/internal/api/client/instance/instancepatch_test.go
@@ -135,6 +135,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",
@@ -230,6 +231,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",
@@ -325,6 +327,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",
@@ -471,6 +474,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",
@@ -589,6 +593,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",
@@ -719,6 +724,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() {
"acct": "admin",
"display_name": "",
"locked": false,
+ "discoverable": true,
"bot": false,
"created_at": "2022-05-17T13:10:59.000Z",
"note": "",