Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function testDefaultValueComparison(string $type, $value) : void |
||
34 | { |
||
35 | $table = new Table('default_value'); |
||
36 | $table->addColumn('test', $type, ['default' => $value]); |
||
37 | |||
38 | $this->schemaManager->dropAndCreateTable($table); |
||
39 | |||
40 | $onlineTable = $this->schemaManager->listTableDetails('default_value'); |
||
41 | |||
42 | self::assertFalse($this->comparator->diffTable($table, $onlineTable)); |
||
43 | } |
||
56 |