Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mertic18 committed Oct 18, 2023
1 parent 3ab804d commit fa7d6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Endpoint/IdentificationsEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa7d6fb

Please sign in to comment.