Skip to content

Commit eccd98e

Browse files
committed
fix.
1 parent 6027766 commit eccd98e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/Integration/Service/Generator/Definition/IndexDefinitionTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class IndexDefinitionTest extends DbTestCase
1616
public function setUp(): void
1717
{
1818
parent::setUp();
19-
$schema = $this->getDoctrineSchemaManager($this->getDatabaseManager());
20-
19+
$schema = $this->getDoctrineConnection($this->getDatabaseManager())->createSchemaManager();
2120
$definition = new IndexDefinition();
2221
$definition->setSchema($schema);
2322

tests/Unit/Generator/Definition/AbstractDefinitionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testGetAttributeByNameReturnsNull(): void
7070

7171
public function testSetAndGetSchemaAreSame(): void
7272
{
73-
$schema = $this->getDoctrineSchemaManager($this->getDatabaseManager());
73+
$schema = $this->getDoctrineConnection($this->getDatabaseManager())->createSchemaManager();
7474

7575
$this->definition->setSchema($schema);
7676
$gotSchema = $this->definition->getSchema();

0 commit comments

Comments
 (0)