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