public function FtpTest::testGetAdapterSuccess in Flysystem 2.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterSuccess()
- 3.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterSuccess()
- 3.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testGetAdapterSuccess()
@covers ::getAdapter @covers ::__construct
File
- tests/
src/ Unit/ Flysystem/ FtpTest.php, line 31
Class
- FtpTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Ftp @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function testGetAdapterSuccess() {
$plugin = new Ftp([
'host' => 'success',
]);
$this
->assertInstanceOf(LeagueFtp::class, $plugin
->getAdapter());
}