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