protected function S3FileKernelTestBase::setUp in Acquia Content Hub 8.2
Overrides KernelTestBase::setUp
5 calls to S3FileKernelTestBase::setUp()
- S3FileEntityHandlerTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileEntityHandlerTest.php - S3FileMapperTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileMapperTest.php - S3FileMapTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileMapTest.php - S3FileOriginLocatorTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileOriginLocatorTest.php - S3FileSchemeHandlerTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileSchemeHandlerTest.php
5 methods override S3FileKernelTestBase::setUp()
- S3FileEntityHandlerTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileEntityHandlerTest.php - S3FileMapperTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileMapperTest.php - S3FileMapTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileMapTest.php - S3FileOriginLocatorTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileOriginLocatorTest.php - S3FileSchemeHandlerTest::setUp in modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileSchemeHandlerTest.php
File
- modules/
acquia_contenthub_s3/ tests/ src/ Kernel/ S3FileKernelTestBase.php, line 30
Class
- S3FileKernelTestBase
- Provides a base setup for s3 file tests.
Namespace
Drupal\Tests\acquia_contenthub_s3\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('file');
$this
->installEntitySchema('user');
$this
->installSchema('acquia_contenthub_s3', S3FileMap::TABLE_NAME);
$this
->installSchema('s3fs', 's3fs_file');
// @todo Can be removed after resolving https://www.drupal.org/project/s3fs/issues/3053014
$this->container
->get('config.factory')
->getEditable('s3fs.settings')
->set('region', 'us-east-1')
->save();
}