| @@ 573-591 (lines=19) @@ | ||
| 570 | self::assertCount(1, $tableDiff->changedForeignKeys); |
|
| 571 | } |
|
| 572 | ||
| 573 | public function testTablesCaseInsensitive() |
|
| 574 | { |
|
| 575 | $schemaA = new Schema(); |
|
| 576 | $schemaA->createTable('foo'); |
|
| 577 | $schemaA->createTable('bAr'); |
|
| 578 | $schemaA->createTable('BAZ'); |
|
| 579 | $schemaA->createTable('new'); |
|
| 580 | ||
| 581 | $schemaB = new Schema(); |
|
| 582 | $schemaB->createTable('FOO'); |
|
| 583 | $schemaB->createTable('bar'); |
|
| 584 | $schemaB->createTable('Baz'); |
|
| 585 | $schemaB->createTable('old'); |
|
| 586 | ||
| 587 | $c = new Comparator(); |
|
| 588 | $diff = $c->compare($schemaA, $schemaB); |
|
| 589 | ||
| 590 | self::assertSchemaTableChangeCount($diff, 1, 0, 1); |
|
| 591 | } |
|
| 592 | ||
| 593 | public function testSequencesCaseInsensitive() |
|
| 594 | { |
|
| @@ 593-611 (lines=19) @@ | ||
| 590 | self::assertSchemaTableChangeCount($diff, 1, 0, 1); |
|
| 591 | } |
|
| 592 | ||
| 593 | public function testSequencesCaseInsensitive() |
|
| 594 | { |
|
| 595 | $schemaA = new Schema(); |
|
| 596 | $schemaA->createSequence('foo'); |
|
| 597 | $schemaA->createSequence('BAR'); |
|
| 598 | $schemaA->createSequence('Baz'); |
|
| 599 | $schemaA->createSequence('new'); |
|
| 600 | ||
| 601 | $schemaB = new Schema(); |
|
| 602 | $schemaB->createSequence('FOO'); |
|
| 603 | $schemaB->createSequence('Bar'); |
|
| 604 | $schemaB->createSequence('baz'); |
|
| 605 | $schemaB->createSequence('old'); |
|
| 606 | ||
| 607 | $c = new Comparator(); |
|
| 608 | $diff = $c->compare($schemaA, $schemaB); |
|
| 609 | ||
| 610 | self::assertSchemaSequenceChangeCount($diff, 1, 0, 1); |
|
| 611 | } |
|
| 612 | ||
| 613 | public function testCompareColumnCompareCaseInsensitive() |
|
| 614 | { |
|