Skip to content

Commit 8317e76

Browse files
committed
fixing testing errors
1 parent eecabcc commit 8317e76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"XDEBUG_MODE=coverage phpunit --colors=always -c ./phpunit.xml --debug --group=short --do-not-cache-result"
123123
],
124124
"functional:long": [
125-
"XDEBUG_MODE=coverage phpunit --colors=always -c ./phpunit.xml --debug --do-not-cache-result"
125+
"XDEBUG_MODE=coverage phpunit --colors=always -c ./phpunit.xml --debug --group=long --do-not-cache-result"
126126
],
127127
"post-install-cmd": [
128128
"Tooly\\ScriptHandler::installPharTools"

src/Request/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function createRetryDecider(LoggerInterface $logger = null)
148148
throw $e;
149149
}
150150

151-
switch ($response->getStatusCode()) {
151+
switch ($response->getStatusCode() ?? 500) {
152152
case 200:
153153
case 201:
154154
case 202:

0 commit comments

Comments
 (0)