We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6178d commit 0acdc90Copy full SHA for 0acdc90
app/code/Magento/Cron/Test/Unit/Observer/ProcessCronQueueObserverTest.php
@@ -660,7 +660,7 @@ public function testDispatchGenerate()
660
$schedule->expects($this->any())->method('unsScheduleId')->willReturnSelf();
661
$schedule->expects($this->any())->method('trySchedule')->willReturnSelf();
662
$schedule->expects($this->any())->method('getCollection')->willReturn($this->_collection);
663
- $schedule->expects($this->exactly(1))->method('save')->willReturnSelf();
+ $schedule->expects($this->atLeastOnce())->method('save')->willReturnSelf();
664
665
$this->_collection->addItem(new \Magento\Framework\DataObject());
666
$this->_collection->addItem($schedule);
0 commit comments