minor #32419 [Workflow] Add missing test for workflow dump description (alexislefebvre)

This PR was submitted for the 4.4 branch but it was merged into the 4.3 branch instead (closes #32419).

Discussion
----------

[Workflow] Add missing test for workflow dump description

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR add a test for a feature added in #29538 but missed a test.

Commits
-------

0c326d0b55 Add missing test for workflow dump description
This commit is contained in:
Fabien Potencier 2019-07-08 07:36:30 +02:00
commit 330b77c2ea
3 changed files with 5 additions and 2 deletions

View File

@ -56,6 +56,7 @@ trait WorkflowBuilderTrait
$placesMetadata = [];
$placesMetadata['c'] = [
'bg_color' => 'DeepSkyBlue',
'description' => 'My custom place description',
];
$transitionsMetadata = new \SplObjectStorage();

View File

@ -17,7 +17,8 @@ skinparam agent {
}
state "a" <<initial>>
state "b" <<marked>>
state "c" <<DeepSkyBlue>>
state "c" <<DeepSkyBlue>> as c
c : My custom place description
agent "t1"
agent "t2"
"a" -[#Purple]-> "t1": "<font color=Grey>My custom transition label 2</font>"

View File

@ -17,7 +17,8 @@ skinparam agent {
}
state "a" <<initial>>
state "b"
state "c" <<DeepSkyBlue>>
state "c" <<DeepSkyBlue>> as c
c : My custom place description
agent "t1"
agent "t2"
"a" -[#Purple]-> "t1": "<font color=Grey>My custom transition label 2</font>"