Skip to content

Commit 5806d62

Browse files
AC-5969::AlertProcessor - Argument #2 () must be of type int, string given
1 parent 82f6a01 commit 5806d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Cron/Observer/ProcessCronQueueObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testDispatchScheduled()
3636
\Magento\Cron\Model\ResourceModel\Schedule\Collection::class
3737
);
3838
$collection->addFieldToFilter('status', \Magento\Cron\Model\Schedule::STATUS_PENDING);
39-
$collection->addFieldToFilter('job_code', 'catalog_product_alert');
39+
$collection->addFieldToFilter('job_code', 'product_alert');
4040
$this->assertGreaterThan(0, $collection->count(), 'Cron has failed to schedule tasks for itself for future.');
4141
}
4242

0 commit comments

Comments
 (0)