Passing on Cookies with Testing in Laravel – PHPUnit Testing
When testing with Laravel, cookies are reset on the next request. To circumvent this, you can grab the cookie and insert it into the next request. Like: Thanks to this blog for helping me solve this.