Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Mar 23, 2024
1 parent c39a083 commit 9356d4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Functional/PostResourcesActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function testDoc(): void

self::assertResponseIsSuccessful();
$this->assertJson($content);
$this->assertSameFileResponseContent($content, 'doc.json', true);
$this->assertSameFileResponseContent($content, 'doc.json');
}

public function testDocSchema(): void
Expand All @@ -30,7 +30,7 @@ public function testDocSchema(): void

public function testEndpoint(): void
{
$client = self::createClient(['debug' => true]);
$client = self::createClient();
$client->jsonRequest('POST', '/resources', [
[
'name' => 'foo',
Expand All @@ -42,6 +42,6 @@ public function testEndpoint(): void

self::assertResponseIsSuccessful();
$this->assertJson($content);
$this->assertSameFileResponseContent($content, 'response.json', true);
$this->assertSameFileResponseContent($content, 'response.json');
}
}

0 comments on commit 9356d4b

Please sign in to comment.