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/admin/accountsgetv2_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/admin/accountsgetv2_test.go')
-rw-r--r-- | internal/api/client/admin/accountsgetv2_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/api/client/admin/accountsgetv2_test.go b/internal/api/client/admin/accountsgetv2_test.go index 83f394803..64c76cc1a 100644 --- a/internal/api/client/admin/accountsgetv2_test.go +++ b/internal/api/client/admin/accountsgetv2_test.go @@ -99,7 +99,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() { "followers_count": 1, "following_count": 1, "statuses_count": 8, - "last_status_at": "2021-07-28T08:40:37.000Z", + "last_status_at": "2021-07-28", "emojis": [], "fields": [ { @@ -157,7 +157,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() { "followers_count": 1, "following_count": 1, "statuses_count": 4, - "last_status_at": "2021-10-20T10:41:37.000Z", + "last_status_at": "2021-10-20", "emojis": [], "fields": [], "enable_rss": true, @@ -258,7 +258,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() { "followers_count": 2, "following_count": 2, "statuses_count": 8, - "last_status_at": "2024-01-10T09:24:00.000Z", + "last_status_at": "2024-01-10", "emojis": [], "fields": [], "enable_rss": true @@ -351,7 +351,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() { "followers_count": 0, "following_count": 0, "statuses_count": 1, - "last_status_at": "2023-11-02T10:44:25.000Z", + "last_status_at": "2023-11-02", "emojis": [], "fields": [] } @@ -396,7 +396,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() { "followers_count": 0, "following_count": 0, "statuses_count": 3, - "last_status_at": "2021-09-11T09:40:37.000Z", + "last_status_at": "2021-09-11", "emojis": [], "fields": [] } |