I am in the process of writing some functional tests for a symfony 1.4.19 website, using Propel ORM. Some of my pages display differently, depending on whether a user is logged in (authenticated) or not.
I have been looking at the online documentation, to see how to implement:
- Tests that run depending on whether a user is logged in (authenticated) or not (as the case may be)
- How to login or logout a user as part of the functional testing.
However, I can't seem to locate anything that shows how to do this.