Skip to content

Commit

Permalink
Extend test method to cover this change
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Nov 18, 2019
1 parent 454d552 commit 3a3213c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -859,6 +859,7 @@ public function testValidatesCachedResponsesUseSameHttpMethod()
public function testValidatesCachedResponsesWithETagAndNoFreshnessInformation()
{
$this->setNextResponse(200, [], 'Hello World', function ($request, $response) {
$this->assertFalse($request->headers->has('If-Modified-Since'));
$response->headers->set('Cache-Control', 'public');
$response->headers->set('ETag', '"12345"');
if ($response->getETag() == $request->headers->get('IF_NONE_MATCH')) {
Expand Down

0 comments on commit 3a3213c

Please sign in to comment.