From e10de8464ae577d0a917482d01e7e01fbaf63460 Mon Sep 17 00:00:00 2001 From: pnwmatt <180812017+pnwmatt@users.noreply.github.com> Date: Sat, 8 Feb 2025 04:04:30 -0800 Subject: [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 --- internal/api/client/instance/instancepatch_test.go | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'internal/api/client/instance') 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": [ -- cgit v1.2.3