public function LocalTest::testMissingAdapterReturnedWhenPathIsFile in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testMissingAdapterReturnedWhenPathIsFile()
- 2.0.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testMissingAdapterReturnedWhenPathIsFile()
- 3.0.x tests/src/Unit/Flysystem/LocalTest.php \Drupal\Tests\flysystem\Unit\Flysystem\LocalTest::testMissingAdapterReturnedWhenPathIsFile()
@covers ::getAdapter @covers ::ensureDirectory
File
- tests/
src/ Unit/ Flysystem/ LocalTest.php, line 81
Class
- LocalTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Local @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function testMissingAdapterReturnedWhenPathIsFile() {
$this
->assertInstanceOf(MissingAdapter::class, (new Local('test.txt'))
->getAdapter());
}