You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#60198 [Workflow] Add more tests (lyrixx)
This PR was merged into the 6.4 branch.
Discussion
----------
[Workflow] Add more tests
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
---
I'm working on a new feature and I noticed some bits of code are not tested
Commits
-------
3bfb779 [Workflow] Add more tests
$this->expectExceptionMessage('All transitions for a place must have an unique name. Multiple transitions named "t1" where found for place "a" in workflow "foo".');
29
28
$places = range('a', 'c');
30
29
31
30
$transitions = [];
@@ -35,6 +34,9 @@ public function testWorkflowWithInvalidNames()
$this->expectExceptionMessage('All transitions for a place must have an unique name. Multiple transitions named "t1" where found for place "a" in workflow "foo".');
$this->expectExceptionMessage('The marking store of workflow "foo" cannot store many places. But the transition "t1" has too many output (2). Only one is accepted.');
$this->expectExceptionMessage('The marking store of workflow "foo" cannot store many places. But the definition has 2 initial places. Only one is supported.');
0 commit comments