Commit 90ba2d40 authored by alexpott's avatar alexpott

Issue #2811407 by timmillwood, Sam152, tstoeckler, cilefen, Gábor Hojtsy,...

Issue #2811407 by timmillwood, Sam152, tstoeckler, cilefen, Gábor Hojtsy, webchick: "Workflow entities" admin page title should be "Workflows"
parent 680e48e8
......@@ -15,6 +15,7 @@
* @ConfigEntityType(
* id = "workflow",
* label = @Translation("Workflow"),
* label_collection = @Translation("Workflows"),
* handlers = {
* "access" = "Drupal\workflows\WorkflowAccessControlHandler",
* "route_provider" = {
......
......@@ -83,6 +83,7 @@ public function testWorkflowCreation() {
$this->drupalGet('admin/config/workflow');
$this->assertSession()->linkByHrefExists('admin/config/workflow/workflows');
$this->clickLink('Workflows');
$this->assertSession()->pageTextContains('Workflows');
$this->assertSession()->pageTextContains('There is no Workflow yet.');
$this->clickLink('Add workflow');
$this->submitForm(['label' => 'Test', 'id' => 'test', 'workflow_type' => 'workflow_type_test'], 'Save');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment