public function InstallFunctionsTest::testFlysystemRequirementsHandlesUpdate in Flysystem 3.x
Same name and namespace in other branches
- 8 tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesUpdate()
- 2.0.x tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesUpdate()
- 3.0.x tests/src/Unit/InstallFunctionsTest.php \Drupal\Tests\flysystem\Unit\InstallFunctionsTest::testFlysystemRequirementsHandlesUpdate()
Tests flysystem_requirements() handles update.
File
- tests/
src/ Unit/ InstallFunctionsTest.php, line 50
Class
- InstallFunctionsTest
- Tests flysystem.install functions.
Namespace
Drupal\Tests\flysystem\UnitCode
public function testFlysystemRequirementsHandlesUpdate() {
$dependencies_exist = (int) class_exists(FlysystemStreamWrapper::class);
$return = flysystem_requirements('update');
$this
->assertSame(1 - $dependencies_exist, count($return));
}