You are here

protected function EventBundleTest::setUp in Rules 8.3

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/EventBundleTest.php, line 29

Class

EventBundleTest
Tests the Ajax behavior of the Add Reaction Rule UI.

Namespace

Drupal\Tests\rules\FunctionalJavascript

Code

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

  // Testing profile doesn't include a 'page' or 'article' content type.
  // We will need these to test bundle-specific entity CRUD events.
  $this
    ->createContentType([
    'type' => 'page',
    'name' => 'Basic page',
  ]);
  $this
    ->createContentType([
    'type' => 'article',
    'name' => 'Article',
  ]);
}