function ExamplesBrowserTestBase::setUp
Same name in other branches
- 3.x tests/src/Functional/ExamplesBrowserTestBase.php \Drupal\Tests\examples\Functional\ExamplesBrowserTestBase::setUp()
Overrides BrowserTestBase::setUp
4 calls to ExamplesBrowserTestBase::setUp()
- CronExampleTest::setUp in modules/
cron_example/ tests/ src/ Functional/ CronExampleTest.php - ExampleFunctionalTest::setUp in modules/
testing_example/ tests/ src/ Functional/ ExampleFunctionalTest.php - The setUp() method is run before every other test method, so commonalities should go here.
- FieldExampleBrowserTestBase::setUp in modules/
field_example/ tests/ src/ Functional/ FieldExampleBrowserTestBase.php - Once installed, a content type with the desired field is created.
- PagerExampleTest::setUp in modules/
pager_example/ tests/ src/ Functional/ PagerExampleTest.php
4 methods override ExamplesBrowserTestBase::setUp()
- CronExampleTest::setUp in modules/
cron_example/ tests/ src/ Functional/ CronExampleTest.php - ExampleFunctionalTest::setUp in modules/
testing_example/ tests/ src/ Functional/ ExampleFunctionalTest.php - The setUp() method is run before every other test method, so commonalities should go here.
- FieldExampleBrowserTestBase::setUp in modules/
field_example/ tests/ src/ Functional/ FieldExampleBrowserTestBase.php - Once installed, a content type with the desired field is created.
- PagerExampleTest::setUp in modules/
pager_example/ tests/ src/ Functional/ PagerExampleTest.php
File
-
tests/
src/ Functional/ ExamplesBrowserTestBase.php, line 25
Class
- ExamplesBrowserTestBase
- A standardized base class for Examples tests.
Namespace
Drupal\Tests\examples\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Add the system menu blocks to appropriate regions.
$this->setupExamplesMenus();
}