public function InstallFunctionsTest::testFlysystemRequirementsHandlesInvalidSchemes in Flysystem 8
Same name and namespace in other branches
- 3.x 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 91
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']));
}