Skip to content

Commit d772fc7

Browse files
committed
Fix broken test in Model CakeMigrationTest. An exception is thrown when you try to create an index with more than 767 bytes
1 parent 2dda7de commit d772fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/Case/Lib/Model/CakeMigrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ public function testTruncateLongIndexKey() {
709709
'description' => array(
710710
'type' => 'string',
711711
'null' => false,
712-
'length' => 256,
712+
'length' => 768,
713713
'default' => null
714714
),
715715
'info' => array(

0 commit comments

Comments
 (0)