public function CckSelectOtherTestBase::setUp in CCK Select Other 8
Overrides BrowserTestBase::setUp
1 call to CckSelectOtherTestBase::setUp()
- CckSelectOtherMultipleFieldTest::setUp in tests/
src/ Functional/ CckSelectOtherMultipleFieldTest.php
1 method overrides CckSelectOtherTestBase::setUp()
- CckSelectOtherMultipleFieldTest::setUp in tests/
src/ Functional/ CckSelectOtherMultipleFieldTest.php
File
- tests/
src/ Functional/ CckSelectOtherTestBase.php, line 49
Class
- CckSelectOtherTestBase
- CCK Select Other functional test base class.
Namespace
Drupal\Tests\cck_select_other\FunctionalCode
public function setUp() {
parent::setUp();
$this->contentType = $this
->createContentType();
$this->adminUser = $this
->createUser([
'administer content types',
'administer site configuration',
]);
$this->webUser = $this
->createUser([
'access content',
'create ' . $this->contentType
->id() . ' content',
'delete any ' . $this->contentType
->id() . ' content',
'bypass node access',
]);
}