Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to overload the client object #51

Closed
Rebolon opened this issue Oct 17, 2013 · 1 comment
Closed

There is no way to overload the client object #51

Rebolon opened this issue Oct 17, 2013 · 1 comment

Comments

@Rebolon
Copy link

Rebolon commented Oct 17, 2013

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.

@Rebolon
Copy link
Author

Rebolon commented Oct 17, 2013

Rebolon@882254c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants