protected function RedirectResourceTest::setUp in Acquia Content Hub 8.2
Throws
\Exception
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ EventSubscriber/ PreEntitySave/ RedirectResourceTest.php, line 52
Class
- RedirectResourceTest
- Test that redirects are handled correctly in PreEntitySave event.
Namespace
Drupal\Tests\acquia_contenthub\Kernel\EventSubscriber\PreEntitySaveCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('field_config');
$this
->installEntitySchema('redirect');
$this
->installConfig([
'system',
]);
$this->dispatcher = $this->container
->get('event_dispatcher');
}