fix tests

This commit is contained in:
Dennis Eichhorn 2023-10-24 00:27:38 +00:00
parent b871ba283c
commit 61253e92b4
2 changed files with 8 additions and 10 deletions

View File

@ -44,7 +44,7 @@ final class DependencyResolverTest extends \PHPUnit\Framework\TestCase
public function testResolve() : void public function testResolve() : void
{ {
self::assertEquals( self::assertEquals(
[0, 1, 2, 3], [2, 3, 1, 0],
DependencyResolver::resolve([0 => [1, 2], 1 => [2, 3], 2 => [], 3 => []]) DependencyResolver::resolve([0 => [1, 2], 1 => [2, 3], 2 => [], 3 => []])
); );
} }

View File

@ -1,13 +1,11 @@
```mermaid <div class="mermaid">sequenceDiagram
sequenceDiagram
participant Alice participant Alice
participant Bob participant Bob
Alice->>John: Hello John, how are you? Alice-&gt;&gt;John: Hello John, how are you?
loop Healthcheck loop Healthcheck
John->>John: Fight against hypochondria John-&gt;&gt;John: Fight against hypochondria
end end
Note right of John: Rational thoughts<br/>prevail... Note right of John: Rational thoughts&lt;br/&gt;prevail...
John-->>Alice: Great! John--&gt;&gt;Alice: Great!
John->>Bob: How about you? John-&gt;&gt;Bob: How about you?
Bob-->>John: Jolly good! Bob--&gt;&gt;John: Jolly good!</div>
```