protected function BlockTest::setUp in Display Suite 8.4
Same name and namespace in other branches
- 8.3 tests/src/Functional/BlockTest.php \Drupal\Tests\ds\Functional\BlockTest::setUp()
Overrides TestBase::setUp
File
- tests/
src/ Functional/ BlockTest.php, line 42
Class
- BlockTest
- Tests for the manage display tab in Display Suite.
Namespace
Drupal\Tests\ds\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a test user.
$this->adminUser = $this
->drupalCreateUser([
'access content',
'admin display suite',
'admin fields',
'administer blocks',
'administer block_content display',
]);
$this
->drupalLogin($this->adminUser);
}