Aaron Scherer's Blog

Aaron Scherer's Blog

Trials and Tribulations of Aaron Scherer


Symfony2, php, Testing, PHP, programming

Symfony2 Testing: Testing Services in Request Scope

Posted on .

Getting into testing at work with one of our new projects, and we need to be able to test our services. The biggest problem I had here, is that we have several services not in the default scope. After a little bit of digging and testing, I came up with this: &…