In some of my test i need to set some cookies.
But whereas Sf2 describe a way to do it with PHPUnit (http://symfony.com/fr/doc/current/book/testing.html), the implementation in AtoumBundle doesn't allow this.
I did this quick modification : https://gist.github.com/Rebolon/7024630
I modify the request closure and added a third params : $cookies
They are just added to the client if they are specified.
In some of my test i need to set some cookies. But whereas Sf2 describe a way to do it with PHPUnit (http://symfony.com/fr/doc/current/book/testing.html), the implementation in AtoumBundle doesn't allow this.
I did this quick modification : https://gist.github.com/Rebolon/7024630 I modify the request closure and added a third params : $cookies They are just added to the client if they are specified.