Skip to content

Commit

Permalink
Revert assertPlainCookie() $unserialize arg (#25151)
Browse files Browse the repository at this point in the history
Changes not required since Encrypter@decrypt()
is never called through this assertion.
  • Loading branch information
derekmd authored and taylorotwell committed Aug 9, 2018
1 parent b11fbad commit a1c2f82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Illuminate/Foundation/Testing/TestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ public function assertLocation($uri)
*
* @param string $cookieName
* @param mixed $value
* @param bool $unserialize
* @return $this
*/
public function assertPlainCookie($cookieName, $value = null, $unserialize = false)
public function assertPlainCookie($cookieName, $value = null)
{
$this->assertCookie($cookieName, $value, false, $unserialize);
$this->assertCookie($cookieName, $value, false);

return $this;
}
Expand Down

0 comments on commit a1c2f82

Please sign in to comment.