public function StreamWrapperTest::testDirnameNested in AmazonS3 7.2
Test that dirname works with a pseudo directory.
@covers \Drupal\amazons3\StreamWrapper::dirname
File
- tests/
StreamWrapperTest.php, line 282
Class
Namespace
Drupal\amazons3TestCode
public function testDirnameNested() {
$this
->assertEquals('s3://bucket.example.com/subdir', $this->wrapper
->dirname('s3://bucket.example.com/subdir/second-subdir'));
}