public function FtpTest::testEnsureReturnsNoErrorsOnSuccess in Flysystem 3.0.x
Same name and namespace in other branches
- 8 tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testEnsureReturnsNoErrorsOnSuccess()
- 3.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testEnsureReturnsNoErrorsOnSuccess()
- 2.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\FtpTest::testEnsureReturnsNoErrorsOnSuccess()
@covers ::ensure
File
- tests/
src/ Unit/ Flysystem/ FtpTest.php, line 48
Class
- FtpTest
- @coversDefaultClass \Drupal\flysystem\Flysystem\Ftp @group flysystem
Namespace
Drupal\Tests\flysystem\Unit\FlysystemCode
public function testEnsureReturnsNoErrorsOnSuccess() {
$result = (new Ftp([
'host' => 'success',
]))
->ensure();
$this
->assertSame(1, count($result));
$this
->assertSame(RfcLogLevel::INFO, $result[0]['severity']);
}