Replace deprecated doctrine methods in tests directory

[MAILPOET-3889]
This commit is contained in:
Rostislav Wolny
2021-10-27 10:43:39 +02:00
committed by Veljko V
parent 73a9bed483
commit b8d72522a2
10 changed files with 45 additions and 41 deletions

View File

@@ -117,6 +117,6 @@ class UserFlagsControllerTest extends \MailPoetTest {
private function cleanup() {
$tableName = $this->entityManager->getClassMetadata(UserFlagEntity::class)->getTableName();
$this->connection->executeUpdate("TRUNCATE $tableName");
$this->connection->executeStatement("TRUNCATE $tableName");
}
}