From b5993095fad2d18ce29e92b0ae1e5e1450bd7f4a Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 16 Feb 2023 14:20:23 +0100 Subject: [bugfix] Set 'discoverable' properly on API accounts (#1511) --- internal/api/client/instance/instancepatch_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/api/client/instance/instancepatch_test.go') 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": "", -- cgit v1.2.3