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/mutes | |
| 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/mutes')
| -rw-r--r-- | internal/api/client/mutes/mutesget_test.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/internal/api/client/mutes/mutesget_test.go b/internal/api/client/mutes/mutesget_test.go index 13d826398..f9cfe5d9c 100644 --- a/internal/api/client/mutes/mutesget_test.go +++ b/internal/api/client/mutes/mutesget_test.go @@ -148,7 +148,7 @@ func (suite *MutesTestSuite) TestIndefinitelyMutedAccountSerializesMuteExpiratio  	// Fetch all muted accounts for the logged-in account.  	// The expected body contains `"mute_expires_at":null`. -	_, err = suite.getMutedAccounts(http.StatusOK, `[{"id":"01F8MH5ZK5VRH73AKHQM6Y9VNX","username":"foss_satan","acct":"foss_satan@fossbros-anonymous.io","display_name":"big gerald","locked":false,"discoverable":true,"bot":false,"created_at":"2021-09-26T10:52:36.000Z","note":"i post about like, i dunno, stuff, or whatever!!!!","url":"http://fossbros-anonymous.io/@foss_satan","avatar":"","avatar_static":"","header":"http://localhost:8080/assets/default_header.webp","header_static":"http://localhost:8080/assets/default_header.webp","header_description":"Flat gray background (default header).","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2024-11-01","emojis":[],"fields":[],"mute_expires_at":null}]`) +	_, err = suite.getMutedAccounts(http.StatusOK, `[{"id":"01F8MH5ZK5VRH73AKHQM6Y9VNX","username":"foss_satan","acct":"foss_satan@fossbros-anonymous.io","display_name":"big gerald","locked":false,"discoverable":true,"bot":false,"created_at":"2021-09-26T10:52:36.000Z","note":"i post about like, i dunno, stuff, or whatever!!!!","url":"http://fossbros-anonymous.io/@foss_satan","avatar":"","avatar_static":"","header":"http://localhost:8080/assets/default_header.webp","header_static":"http://localhost:8080/assets/default_header.webp","header_description":"Flat gray background (default header).","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2024-11-01","emojis":[],"fields":[],"group":false,"mute_expires_at":null}]`)  	if err != nil {  		suite.FailNow(err.Error())  	} | 
