public function StreamWrapperTest::testSetSchemeUri in AmazonS3 7.2
Test setting a scheme-only URI.
@covers \Drupal\amazons3\StreamWrapper::setUri
File
- tests/
StreamWrapperTest.php, line 177
Class
Namespace
Drupal\amazons3TestCode
public function testSetSchemeUri() {
$wrapper = new StreamWrapper();
$wrapper
->setUri('s3://');
$this
->assertEquals('s3://bucket.example.com', $wrapper
->getUri());
}