summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltofrontend_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-11-05 22:16:06 +0000
committerLibravatar GitHub <noreply@github.com>2024-11-05 22:16:06 +0000
commit6f4cb2f14e37dc4142ec067f7dc2ed898bf804c2 (patch)
treeaed7ba0725a691cb11b388ca0e4736151a480810 /internal/typeutils/internaltofrontend_test.go
parent[chore] update docs assets path (#3514) (diff)
downloadgotosocial-6f4cb2f14e37dc4142ec067f7dc2ed898bf804c2.tar.xz
[bugfix] sets the max value placeholders to MaxInt32 instead of MaxInt (#3517)v0.17.3
* sets the max value placeholders to MaxInt32 instead of MaxInt * update tests
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r--internal/typeutils/internaltofrontend_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go
index 6c318e851..b9cadb183 100644
--- a/internal/typeutils/internaltofrontend_test.go
+++ b/internal/typeutils/internaltofrontend_test.go
@@ -1968,10 +1968,10 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() {
"video/x-matroska"
],
"image_size_limit": 41943040,
- "image_matrix_limit": 9223372036854775807,
+ "image_matrix_limit": 2147483647,
"video_size_limit": 41943040,
- "video_frame_rate_limit": 9223372036854775807,
- "video_matrix_limit": 9223372036854775807
+ "video_frame_rate_limit": 2147483647,
+ "video_matrix_limit": 2147483647
},
"polls": {
"max_options": 6,
@@ -2113,10 +2113,10 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV2ToFrontend() {
"video/x-matroska"
],
"image_size_limit": 41943040,
- "image_matrix_limit": 9223372036854775807,
+ "image_matrix_limit": 2147483647,
"video_size_limit": 41943040,
- "video_frame_rate_limit": 9223372036854775807,
- "video_matrix_limit": 9223372036854775807
+ "video_frame_rate_limit": 2147483647,
+ "video_matrix_limit": 2147483647
},
"polls": {
"max_options": 6,