mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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
This commit is contained in:
@ -159,7 +159,8 @@ func (suite *ReportsGetTestSuite) TestGetReports() {
|
||||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
}
|
||||
]`, string(b))
|
||||
@ -250,7 +251,8 @@ func (suite *ReportsGetTestSuite) TestGetReports4() {
|
||||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
}
|
||||
]`, string(b))
|
||||
@ -325,7 +327,8 @@ func (suite *ReportsGetTestSuite) TestGetReports6() {
|
||||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
}
|
||||
]`, string(b))
|
||||
@ -384,7 +387,8 @@ func (suite *ReportsGetTestSuite) TestGetReports7() {
|
||||
"statuses_count": 4,
|
||||
"last_status_at": "2024-11-01",
|
||||
"emojis": [],
|
||||
"fields": []
|
||||
"fields": [],
|
||||
"group": false
|
||||
}
|
||||
}
|
||||
]`, string(b))
|
||||
|
Reference in New Issue
Block a user