Skip to content

Commit

Permalink
[#14602] - Fixing phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Dec 9, 2019
1 parent 6aee526 commit 4701b76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/unit/Http/Response/GetReasonPhraseCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function httpResponseGetReasonPhrase(UnitTester $I)
$oResponse = new Response('<h1>Test</h1>', 200, $sPhrase);

$I->assertSame(
$sPhrase,
$sPhrase,
$oResponse->getReasonPhrase()
);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/Http/Response/GetSetHeadersCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public function httpResponseGetSetHeaders(UnitTester $I)
$oResponse->setHeaders($oHeaders);

$I->assertEquals(
$oHeaders,
$oHeaders,
$oResponse->getHeaders()
);

$I->assertSame(
$oHeaders->toArray(),
$oHeaders->toArray(),
$oResponse->getHeaders()->toArray()
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Http/Response/SetExpiresCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function httpResponseSetExpires(UnitTester $I)
$oResponse->setExpires($oExpireDate);

$I->assertSame(
$oExpireDate->format("D, d M Y H:i:s") . " GMT",
$oExpireDate->format("D, d M Y H:i:s") . " GMT",
$oResponse->getHeaders()->get('Expires')
);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Http/Response/SetLastModifiedCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function httpResponseSetLastModified(UnitTester $I)
$oResponse->setLastModified($oLastModified);

$I->assertSame(
$oLastModified->format("D, d M Y H:i:s") . " GMT",
$oLastModified->format("D, d M Y H:i:s") . " GMT",
$oResponse->getHeaders()->get('Last-Modified')
);
}
Expand Down

0 comments on commit 4701b76

Please sign in to comment.