You are here

public function InstallFunctionsTest::testFlysystemInstallCallsEnsure in Flysystem 8

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

Tests flysystem_install() calls ensure().

File

tests/src/Unit/InstallFunctionsTest.php, line 101

Class

InstallFunctionsTest
Tests flysystem.install functions.

Namespace

Drupal\Tests\flysystem\Unit

Code

public function testFlysystemInstallCallsEnsure() {
  $this->factory
    ->ensure()
    ->shouldBeCalled();
  flysystem_install();
}