Skip to content

Commit

Permalink
Add test to check whether unexpected cookie propery isn't included
Browse files Browse the repository at this point in the history
  • Loading branch information
supermanner committed Aug 31, 2017
1 parent 11375f7 commit c023108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Http/Cookie/CookieCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ public function testCreateFromHeader()
$this->assertCount(3, $cookies);
$this->assertTrue($cookies->has('http'));
$this->assertTrue($cookies->has('expires'));
$this->assertFalse($cookies->has('version'));
$this->assertTrue($cookies->has('expired'), 'Expired cookies should be present');
}

Expand Down

0 comments on commit c023108

Please sign in to comment.