public function StreamWrapperConfigurationTest::testDefaultHostname in AmazonS3 7.2
@covers Drupal\amazons3\StreamWrapperConfiguration::fromConfig
File
- tests/
StreamWrapperConfigurationTest.php, line 126
Class
- StreamWrapperConfigurationTest
- @class StreamWrapperConfigurationTest @package Drupal\amazons3Test
Namespace
Drupal\amazons3TestCode
public function testDefaultHostname() {
$config = StreamWrapperConfiguration::fromConfig(array(
'bucket' => 'bucket',
'region' => 'region',
));
$this
->assertEquals('bucket.s3.amazonaws.com', $config
->getDomain());
}