protected function FarmBrowserTestBase::setUp in farmOS 2.x
Overrides BrowserTestBase::setUp
9 calls to FarmBrowserTestBase::setUp()
- AssetTestBase::setUp in modules/
core/ asset/ tests/ src/ Functional/ AssetTestBase.php - CorsResponseEventSubscriberTest::setUp in modules/
core/ api/ tests/ src/ Functional/ CorsResponseEventSubscriberTest.php - DashboardTasksTest::setUp in modules/
core/ ui/ views/ tests/ src/ Functional/ DashboardTasksTest.php - DashboardTest::setUp in modules/
core/ ui/ dashboard/ tests/ src/ Functional/ DashboardTest.php - EquipmentFieldTest::setUp in modules/
asset/ equipment/ tests/ src/ Functional/ EquipmentFieldTest.php
9 methods override FarmBrowserTestBase::setUp()
- AssetTestBase::setUp in modules/
core/ asset/ tests/ src/ Functional/ AssetTestBase.php - CorsResponseEventSubscriberTest::setUp in modules/
core/ api/ tests/ src/ Functional/ CorsResponseEventSubscriberTest.php - DashboardTasksTest::setUp in modules/
core/ ui/ views/ tests/ src/ Functional/ DashboardTasksTest.php - DashboardTest::setUp in modules/
core/ ui/ dashboard/ tests/ src/ Functional/ DashboardTest.php - EquipmentFieldTest::setUp in modules/
asset/ equipment/ tests/ src/ Functional/ EquipmentFieldTest.php
File
- modules/
core/ test/ tests/ src/ Functional/ FarmBrowserTestBase.php, line 25
Class
- FarmBrowserTestBase
- Provides a base class for farmOS functional tests.
Namespace
Drupal\Tests\farm_test\FunctionalCode
protected function setUp() : void {
// Set a global farm_test variable and then delegate to the parent setUp().
// This is a temporary hack to prevent optional default farmOS modules from
// being installed via the profile's hook_install_tasks().
// @see farm_install_modules()
// @todo https://www.drupal.org/project/farm/issues/3183739
$GLOBALS['farm_test'] = TRUE;
parent::setUp();
}