public function FlysystemRoutesTest::testLocalPathSameAsPublicIsSkipped in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Routing/FlysystemRoutesTest.php \Drupal\Tests\flysystem\Unit\Routing\FlysystemRoutesTest::testLocalPathSameAsPublicIsSkipped()
- 3.x tests/src/Unit/Routing/FlysystemRoutesTest.php \Drupal\Tests\flysystem\Unit\Routing\FlysystemRoutesTest::testLocalPathSameAsPublicIsSkipped()
- 2.0.x tests/src/Unit/Routing/FlysystemRoutesTest.php \Drupal\Tests\flysystem\Unit\Routing\FlysystemRoutesTest::testLocalPathSameAsPublicIsSkipped()
@covers ::routes
File
- tests/
src/ Unit/ Routing/ FlysystemRoutesTest.php, line 96
Class
- FlysystemRoutesTest
- @coversDefaultClass \Drupal\flysystem\Routing\FlysystemRoutes @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\RoutingCode
public function testLocalPathSameAsPublicIsSkipped() {
new Settings([
'flysystem' => [
'test' => [
'driver' => 'local',
'public' => TRUE,
'config' => [
'public' => TRUE,
'root' => 'sites/default/files',
],
],
],
]);
$this
->assertSame([], $this->router
->routes());
}