protected function CustomBlockTestBase::setUp

Sets the test up.

Overrides WebTestBase::setUp

3 calls to CustomBlockTestBase::setUp()
CustomBlockCreationTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockCreationTest.php
Sets the test up.
CustomBlockRevisionsTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockRevisionsTest.php
Sets the test up.
CustomBlockSaveTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockSaveTest.php
Sets the test up.
3 methods override CustomBlockTestBase::setUp()
CustomBlockCreationTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockCreationTest.php
Sets the test up.
CustomBlockRevisionsTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockRevisionsTest.php
Sets the test up.
CustomBlockSaveTest::setUp in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockSaveTest.php
Sets the test up.

File

drupal/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php, line 48
Contains \Drupal\custom_block\Tests\CustomBlockTestBase.

Class

CustomBlockTestBase
Sets up page and article content types.

Namespace

Drupal\custom_block\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
}