summaryrefslogtreecommitdiff
path: root/internal/api/client/followrequest/get_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-06-04 20:03:01 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-04 20:03:01 +0200
commitf3b44426f4bdc18ef14f68bb8381646fdc2ef241 (patch)
tree22b4b693181c91ef18eb590b9b49d5ed45eca675 /internal/api/client/followrequest/get_test.go
parent[feature] Start adding advanced configuration options, starting with `samesit... (diff)
downloadgotosocial-f3b44426f4bdc18ef14f68bb8381646fdc2ef241.tar.xz
[bugfix] Update time marshalling format to provide 3 digits of ms (#630)
Diffstat (limited to 'internal/api/client/followrequest/get_test.go')
-rw-r--r--internal/api/client/followrequest/get_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/followrequest/get_test.go b/internal/api/client/followrequest/get_test.go
index 63e4d0818..2af9c7744 100644
--- a/internal/api/client/followrequest/get_test.go
+++ b/internal/api/client/followrequest/get_test.go
@@ -70,7 +70,7 @@ func (suite *GetTestSuite) TestGet() {
b, err := ioutil.ReadAll(result.Body)
assert.NoError(suite.T(), err)
- suite.Equal(`[{"id":"01FHMQX3GAABWSM0S2VZEC2SWC","username":"some_user","acct":"some_user@example.org","display_name":"some user","locked":true,"bot":false,"created_at":"2020-08-10T12:13:28.00Z","note":"i'm a real son of a gun","url":"http://example.org/@some_user","avatar":"","avatar_static":"","header":"","header_static":"","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"","emojis":[],"fields":[]}]`, string(b))
+ suite.Equal(`[{"id":"01FHMQX3GAABWSM0S2VZEC2SWC","username":"some_user","acct":"some_user@example.org","display_name":"some user","locked":true,"bot":false,"created_at":"2020-08-10T12:13:28.000Z","note":"i'm a real son of a gun","url":"http://example.org/@some_user","avatar":"","avatar_static":"","header":"","header_static":"","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"","emojis":[],"fields":[]}]`, string(b))
}
func TestGetTestSuite(t *testing.T) {