public function FormTestBase::setUp in Purge 8.3
Set up the test object.
Parameters
bool $switch_to_memory_queue: Whether to switch the default queue to the memory backend or not.
Overrides BrowserTestBase::setUp
13 calls to FormTestBase::setUp()
- LoggingConfigFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ LoggingConfigFormTest.php - Set up the test object.
- PluginConfigFormTestBase::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ Config/ PluginConfigFormTestBase.php - Set up the test object.
- ProcessorDeleteFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ ProcessorDeleteFormTest.php - Set up the test object.
- ProcessorDetailsFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ ProcessorDetailsFormTest.php - Setup the test.
- PurgerDeleteFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ PurgerDeleteFormTest.php - Set up the test object.
13 methods override FormTestBase::setUp()
- LoggingConfigFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ LoggingConfigFormTest.php - Set up the test object.
- PluginConfigFormTestBase::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ Config/ PluginConfigFormTestBase.php - Set up the test object.
- ProcessorDeleteFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ ProcessorDeleteFormTest.php - Set up the test object.
- ProcessorDetailsFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ ProcessorDetailsFormTest.php - Setup the test.
- PurgerDeleteFormTest::setUp in modules/
purge_ui/ tests/ src/ Functional/ Form/ PurgerDeleteFormTest.php - Set up the test object.
File
- modules/
purge_ui/ tests/ src/ Functional/ Form/ FormTestBase.php, line 89
Class
- FormTestBase
- Testbase for purge_ui forms.
Namespace
Drupal\Tests\purge_ui\Functional\FormCode
public function setUp($switch_to_memory_queue = TRUE) : void {
parent::setUp($switch_to_memory_queue);
$this
->assertTestProperties();
$this->adminUser = $this
->drupalCreateUser([
'administer site configuration',
]);
if (is_null($this->formId)) {
$this->formId = $this->route;
}
}