diff options
author | 2022-04-29 15:05:13 +0200 | |
---|---|---|
committer | 2022-04-29 15:05:13 +0200 | |
commit | 63f84da3e45d4e1cace427c6d30f19ba7e621618 (patch) | |
tree | c99679350b1b3ed64451f894fd485cc3dc9c8b0a /internal/api/client/account/accountverify_test.go | |
parent | [feature] allow absolute path to templates (#507) (diff) | |
download | gotosocial-63f84da3e45d4e1cace427c6d30f19ba7e621618.tar.xz |
[chore] Inboxes for iri test (#508)
* tidy up some federation tests
* add missing license to following.go
* give zork some followers, as a treat
* test InboxesForIRI
* Go fmt
* update timeline tests
Diffstat (limited to 'internal/api/client/account/accountverify_test.go')
-rw-r--r-- | internal/api/client/account/accountverify_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/account/accountverify_test.go b/internal/api/client/account/accountverify_test.go index b5dfdd5e8..2732a6188 100644 --- a/internal/api/client/account/accountverify_test.go +++ b/internal/api/client/account/accountverify_test.go @@ -80,7 +80,7 @@ func (suite *AccountVerifyTestSuite) TestAccountVerifyGet() { suite.Equal("http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/avatar/small/01F8MH58A357CV5K7R7TJMSH6S.jpeg", apimodelAccount.AvatarStatic) suite.Equal("http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/header/original/01PFPMWK2FF0D9WMHEJHR07C3Q.jpeg", apimodelAccount.Header) suite.Equal("http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/header/small/01PFPMWK2FF0D9WMHEJHR07C3Q.jpeg", apimodelAccount.HeaderStatic) - suite.Zero(apimodelAccount.FollowersCount) + suite.Equal(2, apimodelAccount.FollowersCount) suite.Equal(2, apimodelAccount.FollowingCount) suite.Equal(5, apimodelAccount.StatusesCount) suite.WithinDuration(time.Now(), lastStatusAt, 5*time.Minute) |