Skip to content

Commit 25a2d03

Browse files
author
Christoph Krapp
committed
Fix test names to reflect their actual purpose
Both tests did expect a name change to result in an empty table diff in the past. When index renaming support was introduced the name of the test was not changed to reflect the new expectation. Signed-off-by: Christoph Krapp <[email protected]>
1 parent 116183b commit 25a2d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Schema/AbstractComparatorTestCase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ public function testCompareColumnCompareCaseInsensitive(): void
652652
self::assertFalse($tableDiff);
653653
}
654654

655-
public function testCompareIndexBasedOnPropertiesNotName(): void
655+
public function testDetectIndexNameChange(): void
656656
{
657657
$tableA = new Table('foo');
658658
$tableA->addColumn('id', Types::INTEGER);
@@ -672,7 +672,7 @@ public function testCompareIndexBasedOnPropertiesNotName(): void
672672
);
673673
}
674674

675-
public function testCompareForeignKeyBasedOnPropertiesNotName(): void
675+
public function testDetectForeignKeyNameChange(): void
676676
{
677677
$tableA = new Table('foo');
678678
$tableA->addColumn('id', Types::INTEGER);

0 commit comments

Comments
 (0)