Support the ongoing development of Laravel.io →
warkior

warkior

Joined 26 Feb 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

csrf validation failing during unit testing (Laravel 4.1)

I recently upgraded from 4.0 to 4.1 following the upgrade instructions, and now when unit testing my...

0 Likes 1 Replies
26 Feb, 2014 at 08:38

csrf validation failing during unit testing (Laravel 4.1)

Found the solution. Have to add Session::start(); to the setup() method. Solves session related prob...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.