From 61253e92b42d86beaf35319f248950ae89999756 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 24 Oct 2023 00:27:38 +0000 Subject: [PATCH] fix tests --- tests/Algorithm/Graph/DependencyResolverTest.php | 2 +- tests/Utils/Parser/Markdown/data/mermaidjs.html | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/Algorithm/Graph/DependencyResolverTest.php b/tests/Algorithm/Graph/DependencyResolverTest.php index e6abf5832..f503f4a0d 100644 --- a/tests/Algorithm/Graph/DependencyResolverTest.php +++ b/tests/Algorithm/Graph/DependencyResolverTest.php @@ -44,7 +44,7 @@ final class DependencyResolverTest extends \PHPUnit\Framework\TestCase public function testResolve() : void { self::assertEquals( - [0, 1, 2, 3], + [2, 3, 1, 0], DependencyResolver::resolve([0 => [1, 2], 1 => [2, 3], 2 => [], 3 => []]) ); } diff --git a/tests/Utils/Parser/Markdown/data/mermaidjs.html b/tests/Utils/Parser/Markdown/data/mermaidjs.html index b9c32ff04..a49f1d1b3 100644 --- a/tests/Utils/Parser/Markdown/data/mermaidjs.html +++ b/tests/Utils/Parser/Markdown/data/mermaidjs.html @@ -1,13 +1,11 @@ -```mermaid -sequenceDiagram +
sequenceDiagram participant Alice participant Bob - Alice->>John: Hello John, how are you? + Alice->>John: Hello John, how are you? loop Healthcheck - John->>John: Fight against hypochondria + John->>John: Fight against hypochondria end - Note right of John: Rational thoughts
prevail... - John-->>Alice: Great! - John->>Bob: How about you? - Bob-->>John: Jolly good! -``` \ No newline at end of file + Note right of John: Rational thoughts<br/>prevail... + John-->>Alice: Great! + John->>Bob: How about you? + Bob-->>John: Jolly good!
\ No newline at end of file