Refactor creating new list to Doctrine

[MAILPOET-3625]
This commit is contained in:
Pavel Dohnal
2021-08-19 10:31:55 +02:00
committed by Veljko V
parent 3d1e2c5a2e
commit 3b7752daed
2 changed files with 28 additions and 12 deletions

View File

@ -25,7 +25,7 @@ class ImportExportTest extends \MailPoetTest {
$this->entityManager->createQueryBuilder()
->delete(ScheduledTaskEntity::class, 's')
->where('s.type = :type')
->setParameter(':type',WooCommerceSync::TASK_TYPE )
->setParameter(':type', WooCommerceSync::TASK_TYPE )
->getQuery()
->execute();
}