public function S3fsUrlGenerationTest::testCustomHostnameDifferentRegion in S3 File System 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Functional/S3fsUrlGenerationTest.php \Drupal\Tests\s3fs\Functional\S3fsUrlGenerationTest::testCustomHostnameDifferentRegion()
Test Custom hostname using a different region.
File
- tests/
src/ Functional/ S3fsUrlGenerationTest.php, line 150
Class
- S3fsUrlGenerationTest
- S3 File System Tests.
Namespace
Drupal\Tests\s3fs\FunctionalCode
public function testCustomHostnameDifferentRegion() {
$urlBase = 'http://test.example.org';
$this
->config('s3fs.settings')
->set('use_cname', TRUE)
->set('domain', 'test.example.org')
->set('region', 'us-east-2')
->save();
$this
->runTests($urlBase);
}