public function FlysystemPathProcessorTest::testDownloadPathsAreProccessed in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testDownloadPathsAreProccessed()
- 3.x tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testDownloadPathsAreProccessed()
- 2.0.x tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testDownloadPathsAreProccessed()
@covers ::processInbound
File
- tests/
src/ Unit/ PathProcessor/ FlysystemPathProcessorTest.php, line 39
Class
- FlysystemPathProcessorTest
- @coversDefaultClass \Drupal\flysystem\PathProcessor\FlysystemPathProcessor @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\PathProcessorCode
public function testDownloadPathsAreProccessed() {
$request = new Request();
$processor = new FlysystemPathProcessor();
$this
->assertSame('/_flysystem/scheme', $processor
->processInbound('/_flysystem/scheme/file.txt', $request));
$this
->assertSame('file.txt', $request->query
->get('file'));
}