diff options
Diffstat (limited to 'internal/api/client/admin')
| -rw-r--r-- | internal/api/client/admin/accountsgetv2_test.go | 11 | ||||
| -rw-r--r-- | internal/api/client/admin/reportsget_test.go | 13 | 
2 files changed, 24 insertions, 0 deletions
| diff --git a/internal/api/client/admin/accountsgetv2_test.go b/internal/api/client/admin/accountsgetv2_test.go index 64c76cc1a..77ca135eb 100644 --- a/internal/api/client/admin/accountsgetv2_test.go +++ b/internal/api/client/admin/accountsgetv2_test.go @@ -96,6 +96,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 1,        "following_count": 1,        "statuses_count": 8, @@ -154,6 +155,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 1,        "following_count": 1,        "statuses_count": 4, @@ -208,6 +210,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 0, @@ -252,9 +255,11 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar": "http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/avatar/original/01F8MH58A357CV5K7R7TJMSH6S.jpg",        "avatar_static": "http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/avatar/small/01F8MH58A357CV5K7R7TJMSH6S.webp",        "avatar_description": "a green goblin looking nasty", +      "avatar_media_id": "01F8MH58A357CV5K7R7TJMSH6S",        "header": "http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/header/original/01PFPMWK2FF0D9WMHEJHR07C3Q.jpg",        "header_static": "http://localhost:8080/fileserver/01F8MH1H7YV1Z7D2C8K2730QBF/header/small/01PFPMWK2FF0D9WMHEJHR07C3Q.webp",        "header_description": "A very old-school screenshot of the original team fortress mod for quake", +      "header_media_id": "01PFPMWK2FF0D9WMHEJHR07C3Q",        "followers_count": 2,        "following_count": 2,        "statuses_count": 8, @@ -302,6 +307,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 0, @@ -348,6 +354,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 1, @@ -393,6 +400,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 3, @@ -439,6 +447,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "header": "http://localhost:8080/fileserver/062G5WYKY35KKD12EMSM3F8PJ8/header/original/01PFPMWK2FF0D9WMHEJHR07C3R.jpg",        "header_static": "http://localhost:8080/fileserver/062G5WYKY35KKD12EMSM3F8PJ8/header/small/01PFPMWK2FF0D9WMHEJHR07C3R.webp",        "header_description": "tweet from thoughts of dog: i drank. all the water. in my bowl. earlier. but just now. i returned. to the same bowl. and it was. full again.. the bowl. is haunted", +      "header_media_id": "01PFPMWK2FF0D9WMHEJHR07C3R",        "followers_count": 0,        "following_count": 0,        "statuses_count": 0, @@ -484,6 +493,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 0, @@ -568,6 +578,7 @@ func (suite *AccountsGetTestSuite) TestAccountsMinID() {        "avatar_static": "",        "header": "http://localhost:8080/assets/default_header.webp",        "header_static": "http://localhost:8080/assets/default_header.webp", +      "header_description": "Flat gray background (default header).",        "followers_count": 0,        "following_count": 0,        "statuses_count": 0, diff --git a/internal/api/client/admin/reportsget_test.go b/internal/api/client/admin/reportsget_test.go index e3d0a535d..12a307836 100644 --- a/internal/api/client/admin/reportsget_test.go +++ b/internal/api/client/admin/reportsget_test.go @@ -183,6 +183,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 0,          "following_count": 0,          "statuses_count": 3, @@ -228,6 +229,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 8, @@ -286,6 +288,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 4, @@ -340,6 +343,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 4, @@ -407,6 +411,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 8, @@ -465,6 +470,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 0,          "following_count": 0,          "statuses_count": 3, @@ -512,6 +518,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetAll() {            "avatar_static": "",            "header": "http://localhost:8080/assets/default_header.webp",            "header_static": "http://localhost:8080/assets/default_header.webp", +          "header_description": "Flat gray background (default header).",            "followers_count": 0,            "following_count": 0,            "statuses_count": 3, @@ -657,6 +664,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetCreatedByAccount() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 8, @@ -715,6 +723,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetCreatedByAccount() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 0,          "following_count": 0,          "statuses_count": 3, @@ -762,6 +771,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetCreatedByAccount() {            "avatar_static": "",            "header": "http://localhost:8080/assets/default_header.webp",            "header_static": "http://localhost:8080/assets/default_header.webp", +          "header_description": "Flat gray background (default header).",            "followers_count": 0,            "following_count": 0,            "statuses_count": 3, @@ -907,6 +917,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetTargetAccount() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 1,          "following_count": 1,          "statuses_count": 8, @@ -965,6 +976,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetTargetAccount() {          "avatar_static": "",          "header": "http://localhost:8080/assets/default_header.webp",          "header_static": "http://localhost:8080/assets/default_header.webp", +        "header_description": "Flat gray background (default header).",          "followers_count": 0,          "following_count": 0,          "statuses_count": 3, @@ -1012,6 +1024,7 @@ func (suite *ReportsGetTestSuite) TestReportsGetTargetAccount() {            "avatar_static": "",            "header": "http://localhost:8080/assets/default_header.webp",            "header_static": "http://localhost:8080/assets/default_header.webp", +          "header_description": "Flat gray background (default header).",            "followers_count": 0,            "following_count": 0,            "statuses_count": 3, | 
