From 0e33201194ea501fcca3690d58f9e63fb47fbf77 Mon Sep 17 00:00:00 2001 From: Thibault Buathier Date: Mon, 22 Apr 2024 08:57:43 +0200 Subject: [PATCH] fix: tear down test --- tests/Oro/Tests/Connection/TearDownTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Oro/Tests/Connection/TearDownTest.php b/tests/Oro/Tests/Connection/TearDownTest.php index ecf42e6a5dd..8474791eb56 100644 --- a/tests/Oro/Tests/Connection/TearDownTest.php +++ b/tests/Oro/Tests/Connection/TearDownTest.php @@ -13,7 +13,7 @@ public function testSchemaDown(): void $schemaTool = new SchemaTool($this->entityManager); $schemaTool->dropDatabase(); - $schemaManager = $this->entityManager->getConnection()->getSchemaManager(); + $schemaManager = $this->entityManager->getConnection()->createSchemaManager(); $tables = $schemaManager->listTableNames(); static::assertEmpty($tables); }