diff --git a/tests/TestApp/config/Migrations/20200208100000_initial_migration.php b/tests/TestApp/config/Migrations/20200208100000_initial_migration.php index 1bd9973..95644c2 100644 --- a/tests/TestApp/config/Migrations/20200208100000_initial_migration.php +++ b/tests/TestApp/config/Migrations/20200208100000_initial_migration.php @@ -64,8 +64,8 @@ public function up() ->addForeignKey('country_id', 'countries', 'id', ['delete'=>'RESTRICT', 'update'=>'CASCADE']) ->save(); - // Veeeery long table name (= 62) to ensure that the triggers get correctly created. - $this->table('12_123456789_123456789_123456789_123456789_123456789_123456789')->create(); + // Veeeery long table name (= 59) to ensure that the triggers get correctly created. + $this->table('123456789_123456789_123456789_123456789_123456789_123456789')->create(); } /** diff --git a/tests/Traits/ExpectedSchemaTestTrait.php b/tests/Traits/ExpectedSchemaTestTrait.php index 64a51db..a0f8ecd 100644 --- a/tests/Traits/ExpectedSchemaTestTrait.php +++ b/tests/Traits/ExpectedSchemaTestTrait.php @@ -25,7 +25,7 @@ private function allExpectedTables(): array return [ 'cities', 'countries', - '12_123456789_123456789_123456789_123456789_123456789_123456789', + '123456789_123456789_123456789_123456789_123456789_123456789', ]; } @@ -39,7 +39,7 @@ private function allExpectedTriggers(): array return [ 'dts_cities', 'dts_countries', - 'dts_12_123456789_123456789_123456789_123456789_123456789_123456', + 'dts_123456789_123456789_123456789_123456789_123456789_123456789', ]; } }