diff options
| author | 2024-10-12 10:02:26 +0200 | |
|---|---|---|
| committer | 2024-10-12 10:02:26 +0200 | |
| commit | 95a316236e3651c27d995fcdc8093ae0d1f96125 (patch) | |
| tree | 13669ae1942d5ce0309a14933104a793cfcd4071 /internal/api/client/mutes/mutesget_test.go | |
| parent | [chore] Don't cc Accept of likes to followers (#3417) (diff) | |
| download | gotosocial-95a316236e3651c27d995fcdc8093ae0d1f96125.tar.xz | |
[bugfix] Account.last_status_at is a date, not datetime (#3419)
* [bugfix] Account.last_status_at is a date, not datetime
Fix #3418
* update swagger
Diffstat (limited to 'internal/api/client/mutes/mutesget_test.go')
| -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 9939174a0..abe5b1135 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","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2021-09-11T09:40:37.000Z","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","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2021-09-11","emojis":[],"fields":[],"mute_expires_at":null}]`)  	if err != nil {  		suite.FailNow(err.Error())  	}  | 
