protected function EmailedExportTest::setUp in Webform Scheduled Tasks 8.2
Overrides FileTestBase::setUp
File
- tests/
src/ Kernel/ EmailedExportTest.php, line 54
Class
- EmailedExportTest
- Test the email export plugin.
Namespace
Drupal\Tests\webform_scheduled_tasks\KernelCode
protected function setUp() {
parent::setUp();
$this
->installSchema('webform', [
'webform',
]);
$this
->installSchema('file', [
'file_usage',
]);
$this
->installEntitySchema('webform_submission');
$this
->installEntitySchema('file');
$this
->installEntitySchema('user');
$this
->setSetting('file_private_path', $this->container
->get('site.path') . '/private');
$this->testWebform = $this
->createTestWebform();
}