Testing oAuth / facebook authentication with WebTestCase in Symfony2 Testing oAuth / facebook authentication with WebTestCase in Symfony2 symfony symfony

Testing oAuth / facebook authentication with WebTestCase in Symfony2


Your best bet might be Goutte https://github.com/fabpot/Goutte which is a wrapper around the Sf2 components you're using combined with an HTTP client. Good luck!


curl should work just fine for this, and while it doesn't support javascript, you won't need js support for what you're trying to accomplish.