You are here

protected function SimpletestPhpunitRunCommandTest::tearDown in Drupal 8

File

core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php, line 145

Class

SimpletestPhpunitRunCommandTest
Tests simpletest_run_phpunit_tests() handles PHPunit fatals correctly.

Namespace

Drupal\Tests\simpletest\Unit

Code

protected function tearDown() {

  // We unset the $base_url global, since the test code sets it as a
  // side-effect.
  unset($GLOBALS['base_url']);
  parent::tearDown();
}