public function FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/FlysystemFactoryTest.php \Drupal\Tests\flysystem\Unit\FlysystemFactoryTest::testGetFilesystemReturnsMissingFilesystem()
- 2.0.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 95
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());
}