public function LocalTest::testReturnsValidLocalUrl in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsValidLocalUrl()
- 3.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsValidLocalUrl()
- 2.0.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsValidLocalUrl()
@covers ::getExternalUrl
File
- tests/
src/ Unit/ Flysystem/ LocalTest.php, line 88
Class
- LocalTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Local @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function testReturnsValidLocalUrl() {
$plugin = new Local('foo/bar', FALSE);
$this
->assertSame('download', $plugin
->getExternalUrl('uri://test.html'));
}