public function InstallFunctionsTest::testFlysystemRequirementsHandlesInvalidSchemes in Flysystem 3.x
Same name and namespace in other branches
- 8 tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesInvalidSchemes()
- 2.0.x tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesInvalidSchemes()
- 3.0.x tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesInvalidSchemes()
Tests flysystem_requirements() detects invalid schemes.
File
- tests/
src/ Unit/ InstallFunctionsTest.php, line 92
Class
- InstallFunctionsTest
- Tests flysystem.install functions.
Namespace
Drupal\Tests\flysystem\UnitCode
public function testFlysystemRequirementsHandlesInvalidSchemes() {
new Settings([
'flysystem' => [
'test_scheme' => [],
],
]);
$requirements = flysystem_requirements('update');
$this
->assertTrue(isset($requirements['flysystem_invalid_scheme']));
}