public function ShareMessageTestBase::setUp in Share Message 8
Overrides BrowserTestBase::setUp
2 calls to ShareMessageTestBase::setUp()
- ShareMessageExposeToBlockTest::setUp in tests/
src/ Functional/ ShareMessageExposeToBlockTest.php - ShareMessageExtraFieldTest::setUp in tests/
src/ Functional/ ShareMessageExtraFieldTest.php - @inheritdoc
2 methods override ShareMessageTestBase::setUp()
- ShareMessageExposeToBlockTest::setUp in tests/
src/ Functional/ ShareMessageExposeToBlockTest.php - ShareMessageExtraFieldTest::setUp in tests/
src/ Functional/ ShareMessageExtraFieldTest.php - @inheritdoc
File
- tests/
src/ Functional/ ShareMessageTestBase.php, line 53
Class
Namespace
Drupal\Tests\sharemessage\FunctionalCode
public function setUp() {
parent::setUp();
// Create an admin user.
$this->adminUser = $this
->drupalCreateUser($this->adminPermissions);
$this
->drupalLogin($this->adminUser);
$this
->drupalPlaceBlock('page_title_block');
}