protected function ModerationDashboardTest::setUp in Lightning Workflow 8.3
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ ModerationDashboardTest.php, line 31
Class
- ModerationDashboardTest
- Tests Lightning Workflow's integration with Moderation Dashboard.
Namespace
Drupal\Tests\lightning_workflow\FunctionalCode
protected function setUp() {
parent::setUp();
// At least one moderated content type must exist in order for the dashboard
// to be available.
$this
->drupalCreateContentType([
'third_party_settings' => [
'lightning_workflow' => [
'workflow' => 'editorial',
],
],
]);
}