You are here

protected function PerBlockTypeSettingsTest::setUp in Simplify 8

Overrides BrowserTestBase::setUp

File

src/Tests/PerBlockTypeSettingsTest.php, line 38

Class

PerBlockTypeSettingsTest
Test simplify per block-type settings.

Namespace

Drupal\simplify\Tests

Code

protected function setUp() {
  parent::setUp();

  // Create an admin user.
  $admin_user = $this
    ->drupalCreateUser([], NULL, TRUE);
  $this
    ->drupalLogin($admin_user);

  // Create a block type.
  $this
    ->createBlockContentType('testing_type', TRUE);
}