Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'fix-tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Oct 31, 2020
2 parents eab7ce2 + 372401a commit 64ae7d5
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"require": {
"php": "^7.3.0",
"jms/serializer": "^1.0|^3.0",
"guzzlehttp/guzzle": "^6.3|^7.0"
"guzzlehttp/guzzle": "^6.3|^7.0",
"doctrine/annotations": "^1.7"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
Expand Down
32 changes: 16 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Wsc/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function execute(): ResponseInterface
if ($e instanceof ClientException) {
$response = $e->getResponse();
} else {
throw new HttpRequestException($e->getMessage());
throw $e;
}
}

Expand Down
24 changes: 12 additions & 12 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Wsc">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./tests</directory>
</whitelist>
</filter>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>./tests</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Wsc">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 64ae7d5

Please sign in to comment.