public function FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem in Flysystem 2.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem()
- 3.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem()
- 3.0.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem()
@covers ::getFilesystem
File
- tests/
src/ Unit/ FlysystemFactoryTest.php, line 96
Class
- FlysystemFactoryTest
- @coversDefaultClass \Drupal\flysystem\FlysystemFactory @group flysystem
Namespace
Drupal\Tests\flysystem\UnitCode
public function testGetFilesystemReturnsMissingFilesystem() {
new Settings([]);
$factory = $this
->getFactory();
$this
->assertInstanceOf(MissingAdapter::class, $factory
->getFilesystem('testscheme')
->getAdapter());
}