In the action class I have this ...
{
$this->id = $this->getUser()->getProfile()->getId();
echo $this->id;
}
it echo's out the expected result
I have written a very basic lime test and i get this....
not ok 2 - last request threw an uncaught exception Doctrine_Record_Exception: Unknown method sfGuardUser::getProfile
# Failed test (/usr/local/php/symfony-1.2.12/lib/test/sfTestFunctionalBase.class.php at line 526)
I have no idea why the code would work in the action and then fail in the test?
Does anyone have any idea how to even start troubleshooting this?
Thanks.
Scott
