Skip to content

Commit 312ea97

Browse files
committed
B2B-1712: Magento setup upgrade failed when new auto incremental field added to an existing table
1 parent bfa2003 commit 312ea97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Framework/DB/Adapter/Pdo/MysqlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function testGetAutoIncrementField(array $options, $expected)
247247
255,
248248
['default' => 'default test text']
249249
)
250-
->setComment('Test table column with expression as column default value');
250+
->setComment('Test table with auto increment column');
251251
$adapter->createTable($table);
252252
$autoIncrementField = $adapter->getAutoIncrementField($tableName);
253253
$this->assertEquals($expected, $autoIncrementField);

dev/tests/integration/testsuite/Magento/Framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaWriterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testResetAutoIncrement(array $options, $expected)
8787
255,
8888
['default' => 'default test text']
8989
)
90-
->setComment('Test table column with expression as column default value');
90+
->setComment('Test table with auto increment column');
9191
$adapter->createTable($table);
9292

9393
$dbStatement = $this->dbSchemaWriter->resetAutoIncrement($tableName, 'default');

0 commit comments

Comments
 (0)