Skip to content

Commit 1b9c00c

Browse files
oliverkleeSam Tuke
authored andcommitted
[BUGFIX] Adapt the system tests to possible HTTP errors (#45)
Now, an error HTTP status code can also be checked for in the system tests (instead of throwing an exception). This currently is not needed yet, but should be consistent to the system tests of the rest-api package (where this is needed).
1 parent 971a72b commit 1b9c00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/System/ApplicationBundle/PhpListApplicationBundleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PhpListApplicationBundleTest extends TestCase
2323

2424
protected function setUp()
2525
{
26-
$this->httpClient = new Client();
26+
$this->httpClient = new Client(['http_errors' => false]);
2727
}
2828

2929
protected function tearDown()

0 commit comments

Comments
 (0)