You are here

protected function MaximumFileSizeExceededUploadTest::tearDown in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php \Drupal\Tests\file\FunctionalJavascript\MaximumFileSizeExceededUploadTest::tearDown()
  2. 10 core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php \Drupal\Tests\file\FunctionalJavascript\MaximumFileSizeExceededUploadTest::tearDown()

Overrides WebDriverTestBase::tearDown

File

core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php, line 86

Class

MaximumFileSizeExceededUploadTest
Tests uploading a file that exceeds the maximum file size.

Namespace

Drupal\Tests\file\FunctionalJavascript

Code

protected function tearDown() {

  // Restore the displaying of errors to the original value.
  // @todo Remove this when issue #2905597 is fixed.
  // @see https://www.drupal.org/node/2905597
  ini_set('display_errors', $this->originalDisplayErrorsValue);
  parent::tearDown();
}