Skip to content

Commit 8fd0f14

Browse files
committed
fix(tests): fix message and code style (phpstan, phpcs)
1 parent 8a231af commit 8fd0f14

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Functional/PullRequests/PullRequest7135Test.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testValidPostRequestWithIriWhenIdentifierIsUuid(): void
4040

4141
$response = self::createClient()->request('POST', '/pull-request-7135/foo/', [
4242
'json' => [
43-
'bar' => 'pull-request-7135/bar/'.$bar->id
43+
'bar' => 'pull-request-7135/bar/'.$bar->id,
4444
],
4545
]);
4646

@@ -56,7 +56,7 @@ public function testInvalidPostRequestWithIriWhenIdentifierIsUuid(): void
5656

5757
$response = self::createClient()->request('POST', '/pull-request-7135/foo/', [
5858
'json' => [
59-
'bar' => 'pull-request-7135/bar/invalid-uuid'
59+
'bar' => 'pull-request-7135/bar/invalid-uuid',
6060
],
6161
]);
6262

@@ -74,7 +74,6 @@ public function testInvalidGetRequestWhenIdentifierIsUuid(): void
7474
$response = self::createClient()->request('GET', '/pull-request-7135/bar/invalid-uuid');
7575

7676
self::assertEquals(404, $response->getStatusCode());
77-
self::assertJsonContains(['detail' => 'Invalid identifier value or configuration.']);
7877
}
7978

8079
protected function loadFixtures(): Bar

0 commit comments

Comments
 (0)