| @@ 1210-1221 (lines=12) @@ | ||
| 1207 | * @group 2782  | 
                                |
| 1208 | * @group 6654  | 
                                |
| 1209 | */  | 
                                |
| 1210 | public function testComparatorShouldReturnFalseWhenLegacyJsonArrayColumnHasComment() : void  | 
                                |
| 1211 |     { | 
                                |
| 1212 |         $table = new Table('json_array_test'); | 
                                |
| 1213 |         $table->addColumn('parameters', 'json_array'); | 
                                |
| 1214 | ||
| 1215 | $this->_sm->createTable($table);  | 
                                |
| 1216 | ||
| 1217 | $comparator = new Comparator();  | 
                                |
| 1218 |         $tableDiff  = $comparator->diffTable($this->_sm->listTableDetails('json_array_test'), $table); | 
                                |
| 1219 | ||
| 1220 | self::assertFalse($tableDiff);  | 
                                |
| 1221 | }  | 
                                |
| 1222 | ||
| 1223 | /**  | 
                                |
| 1224 | * @group 2782  | 
                                |
| @@ 279-294 (lines=16) @@ | ||
| 276 | /**  | 
                                |
| 277 | * @group DBAL-423  | 
                                |
| 278 | */  | 
                                |
| 279 | public function testDiffListGuidTableColumn()  | 
                                |
| 280 |     { | 
                                |
| 281 |         $offlineTable = new Table('list_guid_table_column'); | 
                                |
| 282 |         $offlineTable->addColumn('col_guid', 'guid'); | 
                                |
| 283 | ||
| 284 | $this->_sm->dropAndCreateTable($offlineTable);  | 
                                |
| 285 | ||
| 286 |         $onlineTable = $this->_sm->listTableDetails('list_guid_table_column'); | 
                                |
| 287 | ||
| 288 | $comparator = new Comparator();  | 
                                |
| 289 | ||
| 290 | self::assertFalse(  | 
                                |
| 291 | $comparator->diffTable($offlineTable, $onlineTable),  | 
                                |
| 292 | "No differences should be detected with the offline vs online schema."  | 
                                |
| 293 | );  | 
                                |
| 294 | }  | 
                                |
| 295 | ||
| 296 | /**  | 
                                |
| 297 | * @group DBAL-1082  | 
                                |