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
{
self::assertEquals(
[0, 1, 2, 3],
[2, 3, 1, 0],
DependencyResolver::resolve([0 => [1, 2], 1 => [2, 3], 2 => [], 3 => []])
);
}

View File

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