Skip to content

Commit e51eb77

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 b17c2c7 commit e51eb77

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
@@ -345,7 +345,7 @@ public function testCompareColumnCompareCaseInsensitive(): void
345345
self::assertTrue($tableDiff->isEmpty());
346346
}
347347

348-
public function testCompareIndexBasedOnPropertiesNotName(): void
348+
public function testDetectIndexNameChange(): void
349349
{
350350
$tableA = new Table('foo');
351351
$tableA->addColumn('id', Types::INTEGER);
@@ -363,7 +363,7 @@ public function testCompareIndexBasedOnPropertiesNotName(): void
363363
);
364364
}
365365

366-
public function testCompareForeignKeyBasedOnPropertiesNotName(): void
366+
public function testDetectForeignKeyNameChange(): void
367367
{
368368
$tableA = new Table('foo');
369369
$tableA->addColumn('id', Types::INTEGER);

0 commit comments

Comments
 (0)