Skip to content

Commit

Permalink
tests: Fixed response content message.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarlepp committed Jul 30, 2019
1 parent 4390004 commit 4fc4144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/E2E/Controller/AuthControllerTest.php
Expand Up @@ -132,7 +132,7 @@ public function testThatGetTokenActionReturn401WithInvalidCredentials(): void
static::assertSame(401, $responseContent->code, 'Response code was not expected'. $info);

static::assertObjectHasAttribute('message', $responseContent, 'Response does not contain "message"' . $info);
static::assertSame('Bad credentials', $responseContent->message, 'Response message was not expected' . $info);
static::assertSame('Bad credentials.', $responseContent->message, 'Response message was not expected' . $info);

unset($response, $client);
}
Expand Down

0 comments on commit 4fc4144

Please sign in to comment.