protected function PrivateFileSchemeHandlerTest::setUp in Acquia Content Hub 8.2
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ PrivateFileSchemeHandlerTest.php, line 41
Class
- PrivateFileSchemeHandlerTest
- Tests the Private File Scheme Handler.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('file');
$this
->installEntitySchema('user');
$config_factory = $this->container
->get('config.factory');
$config_factory
->getEditable('acquia_contenthub.admin_settings')
->set('origin', 'aa1c7fd9-cffe-411e-baef-d0a2c67bddd4')
->save();
}