diff options
author | 2024-10-21 14:04:50 +0200 | |
---|---|---|
committer | 2024-10-21 14:04:50 +0200 | |
commit | 8a93300ac43ffd70ca687d71ee8eefdb755e6a58 (patch) | |
tree | 4f091a3e8ad082738f65f5ab47a1be910bc94933 /internal/api/client/instance/instancepatch_test.go | |
parent | [chore]: Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#3469) (diff) | |
download | gotosocial-8a93300ac43ffd70ca687d71ee8eefdb755e6a58.tar.xz |
[feature] Add image descriptions for default avatar + header; don't allow editing default desc (#3473)v0.17.1
Diffstat (limited to 'internal/api/client/instance/instancepatch_test.go')
-rw-r--r-- | internal/api/client/instance/instancepatch_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/api/client/instance/instancepatch_test.go b/internal/api/client/instance/instancepatch_test.go index 5eb15820e..0b6b02356 100644 --- a/internal/api/client/instance/instancepatch_test.go +++ b/internal/api/client/instance/instancepatch_test.go @@ -174,6 +174,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch1() { "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, @@ -314,6 +315,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch2() { "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, @@ -454,6 +456,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch3() { "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, @@ -645,6 +648,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch6() { "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, @@ -811,6 +815,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch8() { "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, @@ -988,6 +993,7 @@ func (suite *InstancePatchTestSuite) TestInstancePatch9() { "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, |