Skip to content

Commit 01650fb

Browse files
patrick.rissmann@l3montree.compatrick.rissmann@l3montree.com
authored andcommitted
Also needed to change the other thirdparty integration involving the orientation of the flowchart
1 parent 5afeb4a commit 01650fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/core/integrations/thirdparty_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestRenderPathToComponent(t *testing.T) {
2929
if err != nil {
3030
t.Fail()
3131
}
32-
assert.Equal(t, "```mermaid \n %%{init: { 'theme':'dark' } }%%\n flowchart LR\nroot\n```\n", result)
32+
assert.Equal(t, "```mermaid \n %%{init: { 'theme':'dark' } }%%\n flowchart TD\nroot\n```\n", result)
3333

3434
})
3535
t.Run("LoadPathToComponent fails somehow should return an error", func(t *testing.T) {
@@ -68,7 +68,7 @@ func TestRenderPathToComponent(t *testing.T) {
6868
}
6969

7070
//String for the empty graph + 1 node being root with a linebreak
71-
assert.Equal(t, "```mermaid \n %%{init: { 'theme':'dark' } }%%\n flowchart LR\nroot\n```\n", result)
71+
assert.Equal(t, "```mermaid \n %%{init: { 'theme':'dark' } }%%\n flowchart TD\nroot\n```\n", result)
7272

7373
})
7474
}

0 commit comments

Comments
 (0)