@@ -191,8 +191,8 @@ public function testWorkflows()
191191 {
192192 $ container = $ this ->createContainerFromFile ('workflows ' );
193193
194- $ this ->assertTrue ($ container ->hasDefinition ('workflow.article ' , 'Workflow is registered as a service ' ) );
195- $ this ->assertTrue ($ container ->hasDefinition ('workflow.article.definition ' , 'Workflow definition is registered as a service ' ) );
194+ $ this ->assertTrue ($ container ->hasDefinition ('workflow.article ' ) , 'Workflow is registered as a service ' );
195+ $ this ->assertTrue ($ container ->hasDefinition ('workflow.article.definition ' ) , 'Workflow definition is registered as a service ' );
196196
197197 $ workflowDefinition = $ container ->getDefinition ('workflow.article.definition ' );
198198
@@ -210,8 +210,8 @@ public function testWorkflows()
210210 );
211211 $ this ->assertSame (array ('workflow.definition ' => array (array ('name ' => 'article ' , 'type ' => 'workflow ' , 'marking_store ' => 'multiple_state ' ))), $ workflowDefinition ->getTags ());
212212
213- $ this ->assertTrue ($ container ->hasDefinition ('state_machine.pull_request ' , 'State machine is registered as a service ' ) );
214- $ this ->assertTrue ($ container ->hasDefinition ('state_machine.pull_request.definition ' , 'State machine definition is registered as a service ' ) );
213+ $ this ->assertTrue ($ container ->hasDefinition ('state_machine.pull_request ' ) , 'State machine is registered as a service ' );
214+ $ this ->assertTrue ($ container ->hasDefinition ('state_machine.pull_request.definition ' ) , 'State machine definition is registered as a service ' );
215215 $ this ->assertCount (4 , $ workflowDefinition ->getArgument (1 ));
216216 $ this ->assertSame ('draft ' , $ workflowDefinition ->getArgument (2 ));
217217
@@ -293,8 +293,8 @@ public function testWorkflowMultipleTransitionsWithSameName()
293293 {
294294 $ container = $ this ->createContainerFromFile ('workflow_with_multiple_transitions_with_same_name ' );
295295
296- $ this ->assertTrue ($ container ->hasDefinition ('workflow.article ' , 'Workflow is registered as a service ' ) );
297- $ this ->assertTrue ($ container ->hasDefinition ('workflow.article.definition ' , 'Workflow definition is registered as a service ' ) );
296+ $ this ->assertTrue ($ container ->hasDefinition ('workflow.article ' ) , 'Workflow is registered as a service ' );
297+ $ this ->assertTrue ($ container ->hasDefinition ('workflow.article.definition ' ) , 'Workflow definition is registered as a service ' );
298298
299299 $ workflowDefinition = $ container ->getDefinition ('workflow.article.definition ' );
300300
0 commit comments