diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php index 260d1a34af..4f7dfe0bf6 100644 --- a/core/modules/simpletest/src/TestBase.php +++ b/core/modules/simpletest/src/TestBase.php @@ -58,6 +58,7 @@ public $results = [ '#pass' => 0, '#fail' => 0, + '#skipped' => 0, '#exception' => 0, '#debug' => 0, ]; @@ -287,7 +288,7 @@ protected function storeAssertion(array $assertion) { * Internal helper: stores the assert. * * @param $status - * Can be 'pass', 'fail', 'exception', 'debug'. + * Can be 'pass', 'fail', 'skipped', 'exception', 'debug'. * TRUE is a synonym for 'pass', FALSE for 'fail'. * @param string|\Drupal\Component\Render\MarkupInterface $message * (optional) A message to display with the assertion. Do not translate diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index e22dd3cdf3..942959214d 100644 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -759,7 +759,7 @@ function simpletest_script_execute_batch($test_classes) { // Ensure that an error line is displayed for the class. simpletest_script_reporter_display_summary( $child['class'], - ['#pass' => 0, '#fail' => 1, '#exception' => 0, '#debug' => 0] + ['#pass' => 0, '#fail' => 1, '#skipped' => 0, '#exception' => 0, '#debug' => 0] ); if ($args['die-on-fail']) { list($db_prefix) = simpletest_last_test_get($child['test_id']);