@@ -205,7 +205,7 @@ |
||
| 205 | 205 | $this->writePhaseGroupFailed($phaseResult->getPhaseResultString()); |
| 206 | 206 | } |
| 207 | 207 | else if ($phaseResult->getPhaseIsIncomplete() || $phaseResult->getPhaseIsBlacklisted()) { |
| 208 | - $this->writePhaseGroupSkipped( $phaseResult->getPhaseResultString()); |
|
| 208 | + $this->writePhaseGroupSkipped($phaseResult->getPhaseResultString()); |
|
| 209 | 209 | } |
| 210 | 210 | $this->write(PHP_EOL); |
| 211 | 211 | } |
@@ -527,7 +527,7 @@ discard block |
||
| 527 | 527 | public function getScenario() |
| 528 | 528 | { |
| 529 | 529 | if ($this->storyScenario === null) { |
| 530 | - return [ "this story has not supplied a scenario; call \$story->setScenario() in your test."]; |
|
| 530 | + return ["this story has not supplied a scenario; call \$story->setScenario() in your test."]; |
|
| 531 | 531 | } |
| 532 | 532 | |
| 533 | 533 | return $this->storyScenario; |
@@ -682,18 +682,18 @@ discard block |
||
| 682 | 682 | // tell the template which story it is being used with |
| 683 | 683 | $tmpl->setStory($this); |
| 684 | 684 | |
| 685 | - $tmpl->hasTestCanRunCheck() && $this->addTestCanRunCheck($tmpl->getTestCanRunCheck()); |
|
| 686 | - $tmpl->hasTestSetup() && $this->addTestSetup($tmpl->getTestSetup()); |
|
| 687 | - $tmpl->hasTestTeardown() && $this->addTestTeardown($tmpl->getTestTeardown()); |
|
| 688 | - $tmpl->hasPerPhaseSetup() && $this->addPerPhaseSetup($tmpl->getPerPhaseSetup()); |
|
| 689 | - $tmpl->hasPerPhaseTeardown() && $this->addPerPhaseTeardown($tmpl->getPerPhaseTeardown()); |
|
| 690 | - $tmpl->hasDeviceSetup() && $this->addDeviceSetup($tmpl->getDeviceSetup()); |
|
| 691 | - $tmpl->hasDeviceTeardown() && $this->addDeviceTeardown($tmpl->getDeviceTeardown()); |
|
| 692 | - $tmpl->hasHints() && $this->addHints($tmpl->getHints()); |
|
| 693 | - $tmpl->hasPreTestPrediction() && $this->addPreTestPrediction($tmpl->getPreTestPrediction()); |
|
| 694 | - $tmpl->hasPreTestInspection() && $this->addPreTestInspection($tmpl->getPreTestInspection()); |
|
| 695 | - $tmpl->hasAction() && $this->addAction($tmpl->getAction()); |
|
| 696 | - $tmpl->hasPostTestInspection() && $this->addPostTestInspection($tmpl->getPostTestInspection()); |
|
| 685 | + $tmpl->hasTestCanRunCheck() && $this->addTestCanRunCheck($tmpl->getTestCanRunCheck()); |
|
| 686 | + $tmpl->hasTestSetup() && $this->addTestSetup($tmpl->getTestSetup()); |
|
| 687 | + $tmpl->hasTestTeardown() && $this->addTestTeardown($tmpl->getTestTeardown()); |
|
| 688 | + $tmpl->hasPerPhaseSetup() && $this->addPerPhaseSetup($tmpl->getPerPhaseSetup()); |
|
| 689 | + $tmpl->hasPerPhaseTeardown() && $this->addPerPhaseTeardown($tmpl->getPerPhaseTeardown()); |
|
| 690 | + $tmpl->hasDeviceSetup() && $this->addDeviceSetup($tmpl->getDeviceSetup()); |
|
| 691 | + $tmpl->hasDeviceTeardown() && $this->addDeviceTeardown($tmpl->getDeviceTeardown()); |
|
| 692 | + $tmpl->hasHints() && $this->addHints($tmpl->getHints()); |
|
| 693 | + $tmpl->hasPreTestPrediction() && $this->addPreTestPrediction($tmpl->getPreTestPrediction()); |
|
| 694 | + $tmpl->hasPreTestInspection() && $this->addPreTestInspection($tmpl->getPreTestInspection()); |
|
| 695 | + $tmpl->hasAction() && $this->addAction($tmpl->getAction()); |
|
| 696 | + $tmpl->hasPostTestInspection() && $this->addPostTestInspection($tmpl->getPostTestInspection()); |
|
| 697 | 697 | |
| 698 | 698 | // remember this template for future use |
| 699 | 699 | $this->storyTemplates[] = $tmpl; |