function FileManagedTestBase::setUp
Same name in other branches
- 9 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
- 8.9.x core/modules/file/src/Tests/FileManagedTestBase.php \Drupal\file\Tests\FileManagedTestBase::setUp()
- 8.9.x core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
- 11.x core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
Overrides BrowserTestBase::setUp
3 calls to FileManagedTestBase::setUp()
- DownloadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - SaveUploadFormTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - SaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php
3 methods override FileManagedTestBase::setUp()
- DownloadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - SaveUploadFormTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - SaveUploadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php
File
-
core/
modules/ file/ tests/ src/ Functional/ FileManagedTestBase.php, line 25
Class
- FileManagedTestBase
- Provides a base class for testing files with the file_test module.
Namespace
Drupal\Tests\file\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Clear out any hook calls.
file_test_reset();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.