Skip to content

Commit

Permalink
:octocat: PSR-17 integration tests http-interop/http-factory-tests#40
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Mar 15, 2019
1 parent e2f01d2 commit 4f0bd65
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"guzzlehttp/psr7": "^1.5"
"guzzlehttp/psr7": "^1.5",
"http-interop/http-factory-tests": "dev-master"
},
"autoload": {
"files": [
Expand Down
11 changes: 11 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@
<testsuite name="php-httpinterface test suite">
<directory suffix=".php">./tests</directory>
</testsuite>
<testsuite name="http-interop Integration tests">
<directory>./vendor/http-interop/http-factory-tests/test</directory>
</testsuite>
</testsuites>
<php>
<const name="REQUEST_FACTORY" value="chillerlan\HTTP\Psr17\RequestFactory"/>
<const name="RESPONSE_FACTORY" value="chillerlan\HTTP\Psr17\ResponseFactory"/>
<const name="SERVER_REQUEST_FACTORY" value="chillerlan\HTTP\Psr17\ServerRequestFactory"/>
<const name="STREAM_FACTORY" value="chillerlan\HTTP\Psr17\StreamFactory"/>
<const name="UPLOADED_FILE_FACTORY" value="chillerlan\HTTP\Psr17\UploadedFileFactory"/>
<const name="URI_FACTORY" value="chillerlan\HTTP\Psr17\UriFactory"/>
</php>
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
Expand Down

0 comments on commit 4f0bd65

Please # to comment.