You are here

protected function LocationTest::setUp in farmOS 2.x

Same name in this branch
  1. 2.x modules/core/location/tests/src/Functional/LocationTest.php \Drupal\Tests\farm_location\Functional\LocationTest::setUp()
  2. 2.x modules/core/location/tests/src/Kernel/LocationTest.php \Drupal\Tests\farm_location\Kernel\LocationTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/core/location/tests/src/Functional/LocationTest.php, line 47

Class

LocationTest
Tests for farmOS location logic.

Namespace

Drupal\Tests\farm_location\Functional

Code

protected function setUp() : void {
  $GLOBALS['farm_test'] = TRUE;
  $this
    ->locationSetup();
}