@@ -64,7 +64,7 @@ public function testCreateDeleteAttribute(): void
6464 $ database ->createCollection ('attributes ' );
6565
6666 $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'string1 ' , Database::VAR_STRING , 128 , true ));
67- $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'string2 ' , Database::VAR_STRING , 16382 + 1 , true ));
67+ $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'string2 ' , Database::VAR_STRING , 20000 , true ));
6868 $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'string3 ' , Database::VAR_STRING , 65535 + 1 , true ));
6969 $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'string4 ' , Database::VAR_STRING , 16777215 + 1 , true ));
7070 $ this ->assertEquals (true , $ database ->createAttribute ('attributes ' , 'integer ' , Database::VAR_INTEGER , 0 , true ));
@@ -1078,7 +1078,7 @@ public function testUpdateAttributeSize(): void
10781078 // Go up in size
10791079
10801080 // 0-16381 to 16382-65535
1081- $ document = $ this ->updateStringAttributeSize (16382 , $ document );
1081+ $ document = $ this ->updateStringAttributeSize (20000 , $ document );
10821082
10831083 // 16382-65535 to 65536-16777215
10841084 $ document = $ this ->updateStringAttributeSize (65536 , $ document );
0 commit comments