From a1120f8bde8d506cf125f31003d8895137cb48b5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 18:59:21 +0000 Subject: [PATCH] fix tests --- tests/Controller/ApiControllerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 3f6720d..318cc9e 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -196,6 +196,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase self::assertEquals(RequestStatusCode::R_400, $response->header->status); } + #[\PHPUnit\Framework\Attributes\Depends('testCreateEditorDoc')] #[\PHPUnit\Framework\Attributes\Group('module')] public function testUpdateEditorDoc() : void { @@ -213,6 +214,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase self::assertEquals(1, $response->getDataArray('')['response']->id); } + #[\PHPUnit\Framework\Attributes\Depends('testUpdateEditorDoc')] #[\PHPUnit\Framework\Attributes\Group('module')] public function testGetEditorDoc() : void {