public function LocalPathProcessorTest::setUp in Flysystem 3.x
Same name and namespace in other branches
- 8 tests/src/Unit/PathProcessor/LocalPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\LocalPathProcessorTest::setUp()
- 2.0.x tests/src/Unit/PathProcessor/LocalPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\LocalPathProcessorTest::setUp()
- 3.0.x tests/src/Unit/PathProcessor/LocalPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\LocalPathProcessorTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ PathProcessor/ LocalPathProcessorTest.php, line 24
Class
- LocalPathProcessorTest
- @coversDefaultClass \Drupal\flysystem\PathProcessor\LocalPathProcessor @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\PathProcessorCode
public function setUp() {
new Settings([
'flysystem' => [
'testscheme' => [
'driver' => 'local',
'config' => [
'root' => 'sites/default/files/flysystem',
],
],
],
]);
$this->processor = new LocalPathProcessor('testscheme');
}