Why don't you just log in as part of your test?

On Tue, Dec 21, 2010 at 10:23 AM, dmitrypol <[email protected]> wrote:

> I implemented sfDoctrineGuardPlugin 5.0.0 and secured most of my
> modules (some can be publicly accessible).  However it really limits
> my ability to run functional tests.
>
> I check that module/action is secure by doing response
> isStatusCode(401).  How do I bypass it to check that module/action
> displays properly via checkElement when user is logged in?
>
> I found some old posts on this group but they didn't help.  I would
> appreciate any suggestions.  Thank you very much
>
> Dmitry
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
The Harvest Cloud
Who says buying local food can't be easy?

Find out more @ harvestcloud.com

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to