We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c589521 commit 7560bc3Copy full SHA for 7560bc3
src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php
@@ -601,6 +601,10 @@ private function notifyCronFinished(array $cronGroups = [])
601
*/
602
private function getLastCronExecution(array $cronGroups = [])
603
{
604
+ if (empty($this->cronExecution)) {
605
+ return 0;
606
+ }
607
+
608
if (empty($cronGroups)) {
609
return (int)max($this->cronExecution);
610
}
@@ -1060,7 +1064,7 @@ public function getSecret($key)
1060
1064
/**
1061
1065
* Waits proper amount of time to perform Cron execution
1062
1066
*
1063
- * @param string $cronGroups
1067
+ * @param array $cronGroups
1068
* @param integer $timeout
1069
* @param string $arguments
1070
* @return string
0 commit comments