Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 330b77c

Browse files
committed
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 ------- 0c326d0 Add missing test for workflow dump description
2 parents d27c530 + 0c326d0 commit 330b77c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/Symfony/Component/Workflow/Tests/WorkflowBuilderTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ private function createSimpleWorkflowDefinition()
5656
$placesMetadata = [];
5757
$placesMetadata['c'] = [
5858
'bg_color' => 'DeepSkyBlue',
59+
'description' => 'My custom place description',
5960
];
6061

6162
$transitionsMetadata = new \SplObjectStorage();

src/Symfony/Component/Workflow/Tests/fixtures/puml/square/simple-workflow-marking.puml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ skinparam agent {
1717
}
1818
state "a" <<initial>>
1919
state "b" <<marked>>
20-
state "c" <<DeepSkyBlue>>
20+
state "c" <<DeepSkyBlue>> as c
21+
c : My custom place description
2122
agent "t1"
2223
agent "t2"
2324
"a" -[#Purple]-> "t1": "<font color=Grey>My custom transition label 2</font>"

src/Symfony/Component/Workflow/Tests/fixtures/puml/square/simple-workflow-nomarking.puml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ skinparam agent {
1717
}
1818
state "a" <<initial>>
1919
state "b"
20-
state "c" <<DeepSkyBlue>>
20+
state "c" <<DeepSkyBlue>> as c
21+
c : My custom place description
2122
agent "t1"
2223
agent "t2"
2324
"a" -[#Purple]-> "t1": "<font color=Grey>My custom transition label 2</font>"

0 commit comments

Comments
 (0)