You are here

public function ModuleFunctionsTest::testFlysystemRebuildCallsEnsure in Flysystem 3.0.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemRebuildCallsEnsure()
  2. 3.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemRebuildCallsEnsure()
  3. 2.0.x tests/src/Unit/ModuleFunctionsTest.php \Drupal\Tests\flysystem\Unit\ModuleFunctionsTest::testFlysystemRebuildCallsEnsure()

Tests flysystem_rebuild() calls ensure.

File

tests/src/Unit/ModuleFunctionsTest.php, line 67

Class

ModuleFunctionsTest
Tests module functions.

Namespace

Drupal\Tests\flysystem\Unit

Code

public function testFlysystemRebuildCallsEnsure() {
  $this->factory
    ->ensure()
    ->shouldBeCalled();
  flysystem_rebuild();
}