diff options
author | 2025-02-08 04:04:30 -0800 | |
---|---|---|
committer | 2025-02-08 13:04:30 +0100 | |
commit | e10de8464ae577d0a917482d01e7e01fbaf63460 (patch) | |
tree | 4fb48ed5fe37e5f7faa417ab79c98ff62178d48f /internal/api/client/instance | |
parent | [chore] Update drone + goreleaser (#3742) (diff) | |
download | gotosocial-e10de8464ae577d0a917482d01e7e01fbaf63460.tar.xz |
[bug] Add missing `group` property to the Account model (#3746)
* Stub out account's Group parameter
* Fix typo in Contributing documentation
* Update swagger and match style
* Update the swagger command to mimic test/swagger.sh
* Fix tests for new `group` param in Account model
* More test changes for new `group` param in Account
* Continuing test changes for `group` param stubbing
* Another round of `group` stubbing for tests
Diffstat (limited to 'internal/api/client/instance')
-rw-r--r-- | internal/api/client/instance/instancepatch_test.go | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go index 47126e8b5..53df20b6b 100644 --- a/internal/api/client/instance/instancepatch_test.go +++ b/internal/api/client/instance/instancepatch_test.go @@ -191,7 +191,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ @@ -333,7 +334,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ @@ -475,7 +477,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ @@ -668,7 +671,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ @@ -836,7 +840,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ @@ -1015,7 +1020,8 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() { "name": "admin", "color": "" } - ] + ], + "group": false }, "max_toot_chars": 5000, "rules": [ |