File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
diagram/src/test/java/io/serverlessworkflow/diagram/test Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,15 @@ public void testSpecExamplesParsing(String workflowLocation) throws Exception {
39
39
assertNotNull (workflow .getStates ());
40
40
41
41
WorkflowDiagram workflowDiagram =
42
- new WorkflowDiagramImpl ().setWorkflow (workflow ).setTemplate ("custom-template" );
42
+ new WorkflowDiagramImpl ()
43
+ .showLegend (true )
44
+ .setWorkflow (workflow )
45
+ .setTemplate ("custom-template" );
43
46
44
47
String diagramSVG = workflowDiagram .getSvgDiagram ();
45
48
46
49
Assertions .assertNotNull (diagramSVG );
47
- // custom template uses #0000FF as start node color
50
+ // custom template uses customcolor in the legend
48
51
Assertions .assertTrue (diagramSVG .contains ("customcolor" ));
49
52
}
50
53
}
You can’t perform that action at this time.
0 commit comments