Skip to content

Commit

Permalink
AC-5969::AlertProcessor - Argument #2 () must be of type int, string …
Browse files Browse the repository at this point in the history
…given
  • Loading branch information
AshishKumarPundeer committed Apr 30, 2024
1 parent 82f6a01 commit 5806d62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function testDispatchScheduled()
\Magento\Cron\Model\ResourceModel\Schedule\Collection::class
);
$collection->addFieldToFilter('status', \Magento\Cron\Model\Schedule::STATUS_PENDING);
$collection->addFieldToFilter('job_code', 'catalog_product_alert');
$collection->addFieldToFilter('job_code', 'product_alert');
$this->assertGreaterThan(0, $collection->count(), 'Cron has failed to schedule tasks for itself for future.');
}

Expand Down

0 comments on commit 5806d62

Please sign in to comment.