You are here

public function LocalTest::testReturnsLocalAdapter in Flysystem 2.0.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsLocalAdapter()
  2. 3.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsLocalAdapter()
  3. 3.0.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testReturnsLocalAdapter()

@covers ::getAdapter @covers ::ensureDirectory

File

tests/src/Unit/Flysystem/LocalTest.php, line 73

Class

LocalTest
@coversDefaultClass \Drupal\flysystem\Flysystem\Local @group flysystem

Namespace

Drupal\Tests\flysystem\Unit\Flysystem

Code

public function testReturnsLocalAdapter() {
  $this
    ->assertInstanceOf(LocalAdapter::class, (new Local('foo/bar', FALSE))
    ->getAdapter());
}