protected function DownloadTest::setUp in Drupal 10
Same name in this branch
- 10 core/modules/file/tests/src/Functional/DownloadTest.php \Drupal\Tests\file\Functional\DownloadTest::setUp()
- 10 core/modules/migrate/tests/src/Kernel/process/DownloadTest.php \Drupal\Tests\migrate\Kernel\process\DownloadTest::setUp()
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Kernel/process/DownloadTest.php \Drupal\Tests\migrate\Kernel\process\DownloadTest::setUp()
- 9 core/modules/migrate/tests/src/Kernel/process/DownloadTest.php \Drupal\Tests\migrate\Kernel\process\DownloadTest::setUp()
Overrides FileTestBase::setUp
File
- core/
modules/ migrate/ tests/ src/ Kernel/ process/ DownloadTest.php, line 28
Class
- DownloadTest
- Tests the download process plugin.
Namespace
Drupal\Tests\migrate\Kernel\processCode
protected function setUp() : void {
parent::setUp();
$this->container
->get('stream_wrapper_manager')
->registerWrapper('temporary', 'Drupal\\Core\\StreamWrapper\\TemporaryStream', StreamWrapperInterface::LOCAL_NORMAL);
}