You are here

protected function MaximumFileSizeExceededUploadTest::tearDown in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php \Drupal\Tests\file\FunctionalJavascript\MaximumFileSizeExceededUploadTest::tearDown()
  2. 9 core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php \Drupal\Tests\file\FunctionalJavascript\MaximumFileSizeExceededUploadTest::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() : void {

  // 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();
}