Add missing test for workflow dump description

This commit is contained in:
Alexis Lefebvre 2019-07-07 18:36:17 +02:00 committed by Fabien Potencier
parent d27c5307f0
commit 0c326d0b55
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>"