protected function FileManagedTestBase::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
- 9 core/modules/file/tests/src/Functional/FileManagedTestBase.php \Drupal\Tests\file\Functional\FileManagedTestBase::setUp()
File
- core/
modules/ file/ tests/ src/ Functional/ FileManagedTestBase.php, line 23
Class
- FileManagedTestBase
- Base class for file tests that use the file_test module to test uploads and hooks.
Namespace
Drupal\Tests\file\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Clear out any hook calls.
file_test_reset();
}