Merge branch 'MDL-73883-311' of https://github.com/andrewnicols/moodle into MOODLE_311_STABLE

This commit is contained in:
Sara Arjona
2022-02-21 15:35:19 +01:00
@@ -125,7 +125,13 @@ class ChainedStepTester implements StepTester {
// Extra step, looking for a moodle exception, a debugging() message or a PHP debug message.
$checkingStep = new StepNode('Given', self::EXCEPTIONS_STEP_TEXT, array(), $step->getLine());
$afterExceptionCheckingEvent = $this->singlesteptester->test($env, $feature, $checkingStep, $skip);
return $this->checkSkipResult($afterExceptionCheckingEvent);
$exceptionCheckResult = $this->checkSkipResult($afterExceptionCheckingEvent);
if (!$exceptionCheckResult->isPassed()) {
return $exceptionCheckResult;
}
return $result;
}
return $this->runChainedSteps($env, $feature, $result, $skip);