Skip to content

Commit de1c029

Browse files
committed
fix tests
1 parent cd179ff commit de1c029

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Functional/Schema/CreateIndexTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public function createPartialUnique(string $expected, Closure $callback): void
4444
$callback($table);
4545
});
4646

47+
$sm = Schema::getConnection()->getDoctrineSchemaManager();
48+
$indexesFound = $sm->listTableIndexes('test_table');
49+
50+
foreach ($indexesFound as $index) {
51+
var_dump($index);
52+
}
53+
4754
$this->seeTable('test_table');
4855
$this->assertRegExpIndex('test_table_name_unique', '/' . $this->getDummyIndex() . $expected . '/');
4956

0 commit comments

Comments
 (0)