public function ModuleFunctionsTest::testFlysystemCronCallsEnsure in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemCronCallsEnsure()
- 2.0.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemCronCallsEnsure()
- 3.0.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemCronCallsEnsure()
Tests flysystem_cron() calls ensure.
File
- tests/
src/ Unit/ ModuleFunctionsTest.php, line 61
Class
- ModuleFunctionsTest
- Tests module functions.
Namespace
Drupal\Tests\flysystem\UnitCode
public function testFlysystemCronCallsEnsure() {
$this->factory
->ensure()
->shouldBeCalled();
flysystem_cron();
}