Replace deprecated doctrine methods in tests directory
[MAILPOET-3889]
This commit is contained in:
committed by
Veljko V
parent
73a9bed483
commit
b8d72522a2
@ -62,6 +62,6 @@ class UserFlagsTest extends \MailPoetTest {
|
||||
|
||||
private function cleanup() {
|
||||
$tableName = $this->entityManager->getClassMetadata(UserFlagEntity::class)->getTableName();
|
||||
$this->entityManager->getConnection()->executeUpdate("TRUNCATE $tableName");
|
||||
$this->entityManager->getConnection()->executeStatement("TRUNCATE $tableName");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user