function EventBundleTest::setUp
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\FunctionalJavascriptCode
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',
]);
}