EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Test fix
Yuriib5f46e8422d8
diff --git a/tests/integration/Espo/Core/Job/JobTest.php b/tests/integration/Espo/Core/Job/JobTest.phpindex 114372a95d..e320b55fc3 100644--- a/tests/integration/Espo/Core/Job/JobTest.php+++ b/tests/integration/Espo/Core/Job/JobTest.php@@ -103,6 +103,9 @@ class JobTest extends BaseTestCase$this->assertEquals(Status::SUCCESS, $jobReloaded->getStatus());}+ /**+ * @noinspection PhpUnhandledExceptionInspection+ */public function testProcessQueueGroupAll(): void{$job1 = $this->entityManager->createEntity('Job', [@@ -120,6 +123,8 @@ class JobTest extends BaseTestCase'group' => 'group-1',]);++ $this->jobManager->prepare();$this->jobManager->processMainQueue();$job1Reloaded = $this->entityManager->getEntityById('Job', $job1->getId());