Skip to content

Commit

Permalink
Fix some coverage issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Aug 29, 2023
1 parent 4093ab5 commit ec1029c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
beStrictAboutCoverageMetadata="true"
beStrictAboutCoverageMetadata="false"
beStrictAboutOutputDuringTests="true"
cacheDirectory=".phpunit.cache"
requireCoverageMetadata="true">
requireCoverageMetadata="false">
<coverage/>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
Expand Down
2 changes: 1 addition & 1 deletion tests/Psr/Response/FromResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class FromResponseTest extends TestCase
/**
* Tests receiving a Response instance when using fromResponse().
*
* @covers \Art4\Requests\Psr\Request::fromResponse
* @covers \Art4\Requests\Psr\Response::fromResponse
*
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/Psr/Response/GetReasonPhraseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class GetReasonPhraseTest extends TestCase
*
* @dataProvider dataValidReasonPhrase
*
* @covers \Art4\Requests\Psr\Request::getReasonPhrase
* @covers \Art4\Requests\Psr\Response::getReasonPhrase
*
* @return void
*/
Expand All @@ -31,7 +31,7 @@ public function testGetReasonPhraseReturnsString(int $code, string $phrase)
/**
* Tests receiving the reason phrase when using getReasonPhrase().
*
* @covers \Art4\Requests\Psr\Request::getReasonPhrase
* @covers \Art4\Requests\Psr\Response::getReasonPhrase
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Psr/Response/GetStatusCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class GetStatusCodeTest extends TestCase
/**
* Tests receiving the status code when using getStatusCode().
*
* @covers \Art4\Requests\Psr\Request::getStatusCode
* @covers \Art4\Requests\Psr\Response::getStatusCode
*
* @return void
*/
Expand Down

0 comments on commit ec1029c

Please sign in to comment.