Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #389 from kalyabin/2.x
Browse files Browse the repository at this point in the history
fixes #387 into 2.x branch
  • Loading branch information
alexislefebvre committed Feb 3, 2018
2 parents eca86d6 + 672b8f6 commit 66ad216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"symfony/monolog-bundle": "^3.1",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"doctrine/doctrine-bundle": "^1.8",
"phpunit/phpunit": "^6.1",
"phpunit/phpunit": "^6.1|^7.0",
"twig/twig": "^2.0",
"theofidry/alice-data-fixtures": "^1.0.1",
"jackalope/jackalope-doctrine-dbal": "^1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/HttpAssertions.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function isSuccessful(Response $response, bool $success = true, st
*/
public static function assertStatusCode(int $expectedStatusCode, Client $client): void
{
$helpfulErrorMessage = null;
$helpfulErrorMessage = '';

if ($expectedStatusCode !== $client->getResponse()->getStatusCode()) {
// Get a more useful error message, if available
Expand Down

0 comments on commit 66ad216

Please sign in to comment.