public function S3fsUrlGenerationTest::testWithRootFolder 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::testWithRootFolder()
Test using a root folder.
File
- tests/
src/ Functional/ S3fsUrlGenerationTest.php, line 190
Class
- S3fsUrlGenerationTest
- S3 File System Tests.
Namespace
Drupal\Tests\s3fs\FunctionalCode
public function testWithRootFolder() {
$urlBase = 'http://513ec7bfc9ac489781a764057973d870.s3.amazonaws.com/MyRootFolder';
$this
->config('s3fs.settings')
->set('root_folder', 'MyRootFolder')
->save();
$this
->runTests($urlBase);
}