protected function S3FileSchemeHandlerTest::setUp in Acquia Content Hub 8.2
Overrides S3FileKernelTestBase::setUp
File
- modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileSchemeHandlerTest.php, line 33
Class
- S3FileSchemeHandlerTest
- Tests the S3FileSchemeHandler.
Namespace
Drupal\Tests\acquia_contenthub_s3\KernelCode
protected function setUp() {
parent::setUp();
$config_factory = $this->container
->get('config.factory');
$config_factory
->getEditable('s3fs.settings')
->set('bucket', 'bucket-name')
->set('root_folder', 'a-root-folder')
->save();
$config_factory
->getEditable('acquia_contenthub.admin_settings')
->set('origin', 'aa1c7fd9-cffe-411e-baef-d0a2c67bddd4')
->save();
}