You are here

public function StreamWrapperTest::testDirnameNull in AmazonS3 7.2

Test that a null dirname returns the bucket associated with the wrapper.

@covers \Drupal\amazons3\StreamWrapper::dirname

File

tests/StreamWrapperTest.php, line 255

Class

StreamWrapperTest
Tests \Drupal\amazons3\StreamWrapper.

Namespace

Drupal\amazons3Test

Code

public function testDirnameNull() {
  $this
    ->assertEquals('s3://bucket.example.com', $this->wrapper
    ->dirname());
}