From fa7d6fbb6c3b3b55ba39509ef3990f7bf192347a Mon Sep 17 00:00:00 2001 From: mertic18 Date: Wed, 18 Oct 2023 17:24:18 +0200 Subject: [PATCH] Fix test --- tests/Endpoint/IdentificationsEndpointTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Endpoint/IdentificationsEndpointTest.php b/tests/Endpoint/IdentificationsEndpointTest.php index e74f9a7..9019b1f 100644 --- a/tests/Endpoint/IdentificationsEndpointTest.php +++ b/tests/Endpoint/IdentificationsEndpointTest.php @@ -17,13 +17,13 @@ public function testCRUD(): void public function testApprove(): void { self::endpoint()->approve('foo'); - self::assertLastRequest('GET', '/api/identifications/foo/approve'); + self::assertLastRequest('POST', '/api/identifications/foo/approve'); } public function testDeny(): void { self::endpoint()->deny('foo'); - self::assertLastRequest('GET', '/api/identifications/foo/deny'); + self::assertLastRequest('POST', '/api/identifications/foo/deny'); } protected static function endpoint(): IdentificationsEndpoint