Posted on Jan 5, 2009

Functional Testing a Secured Module

Most of the modules we work on in symfony are secured with the popular sfGuardPlugin, but by default you can’t test a secured module each time you will try to access an action from your functional testing file will result in failure of the test. To make my point a little bit clear consider that we have a module called foobar in an application called backend. Of course as you know that when you create the module, automatically a file called foobarActionsTest.php is created in test/functional/backend.
Continue Reading