Replace deprecated doctrine methods in tests directory
[MAILPOET-3889]
This commit is contained in:
committed by
Veljko V
parent
73a9bed483
commit
b8d72522a2
@@ -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");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user