Skip to content

Commit 0ef7884

Browse files
committed
[2323] change limit
1 parent 54a02ce commit 0ef7884

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Phinx/Db/Adapter/MysqlAdapterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,15 +2851,15 @@ public function testChangeColumnWithAlgorithm(): void
28512851
->create();
28522852

28532853
$table->changeColumn('description', 'string', [
2854-
'limit' => 255,
2854+
'limit' => 250,
28552855
'algorithm' => MysqlAdapter::ALGORITHM_INPLACE,
28562856
'lock' => MysqlAdapter::LOCK_SHARED,
28572857
])->update();
28582858

28592859
$columns = $this->adapter->getColumns('items');
28602860
foreach ($columns as $column) {
28612861
if ($column->getName() === 'description') {
2862-
$this->assertEquals(255, $column->getLimit());
2862+
$this->assertEquals(250, $column->getLimit());
28632863
}
28642864
}
28652865
}

0 commit comments

Comments
 (0)