mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-28 22:52:47 +00:00
mb
This commit is contained in:
parent
0be51c025c
commit
dd90acf791
|
@ -155,7 +155,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
@ -296,7 +296,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
@ -437,7 +437,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
@ -629,7 +629,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
@ -792,7 +792,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/fileserver/01AY6P665V14JJR0AFVRT7311Y/attachment/original/`+instanceAccount.AvatarMediaAttachment.ID+`.gif",`+`
|
"thumbnail": "http://localhost:8080/fileserver/01AY6P665V14JJR0AFVRT7311Y/attachment/original/`+instanceAccount.AvatarMediaAttachment.ID+`.gif",`+`
|
||||||
|
@ -974,7 +974,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
|
|
@ -47,7 +47,7 @@ func (suite *InstanceTestSuite) TestCountInstanceUsersRemote() {
|
||||||
func (suite *InstanceTestSuite) TestCountInstanceStatuses() {
|
func (suite *InstanceTestSuite) TestCountInstanceStatuses() {
|
||||||
count, err := suite.db.CountInstanceStatuses(context.Background(), config.GetHost())
|
count, err := suite.db.CountInstanceStatuses(context.Background(), config.GetHost())
|
||||||
suite.NoError(err)
|
suite.NoError(err)
|
||||||
suite.Equal(20, count)
|
suite.Equal(19, count)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (suite *InstanceTestSuite) TestCountInstanceStatusesRemote() {
|
func (suite *InstanceTestSuite) TestCountInstanceStatusesRemote() {
|
||||||
|
|
|
@ -1993,7 +1993,7 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() {
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"domain_count": 2,
|
"domain_count": 2,
|
||||||
"status_count": 20,
|
"status_count": 19,
|
||||||
"user_count": 4
|
"user_count": 4
|
||||||
},
|
},
|
||||||
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
"thumbnail": "http://localhost:8080/assets/logo.webp",
|
||||||
|
|
Loading…
Reference in a new issue