protected function GeolocationFieldTest::setUp in Geolocation Field 8
Same name and namespace in other branches
- 8.3 tests/src/Functional/GeolocationFieldTest.php \Drupal\Tests\geolocation\Functional\GeolocationFieldTest::setUp()
- 8.2 tests/src/Functional/GeolocationFieldTest.php \Drupal\Tests\geolocation\Functional\GeolocationFieldTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ GeolocationFieldTest.php, line 36
Class
- GeolocationFieldTest
- Tests the creation of geolocation fields.
Namespace
Drupal\Tests\geolocation\FunctionalCode
protected function setUp() {
parent::setUp();
$this->articleCreator = $this
->drupalCreateUser([
'create geolocation_default_article content',
'edit own geolocation_default_article content',
]);
$this
->drupalLogin($this->articleCreator);
}