Re: [symfony-users] Using extended class in functional tests

2009-11-30 Thread Bernhard Schussek
Did you check whether factories.yml is configured to use the correct user class in the test environment? Do you maybe have several myUser classes in your project and symfony is using the wrong one? Bernhard -- You received this message because you are subscribed to the Google Groups "symfony u

Re: [symfony-users] Using extended class in functional tests

2009-11-30 Thread basos g
2009/11/20 Peter Theill > I have added "setUid" and "getUid" methods in my "myUser.class.php" > but when I'm running my functional tests I'm not able to use these > methods. I get: > > sfException: Call to undefined method myUser::setUid. > > My "myUser.php.class" looks like this: > > > class m

[symfony-users] Using extended class in functional tests

2009-11-23 Thread Peter Theill
I have added "setUid" and "getUid" methods in my "myUser.class.php" but when I'm running my functional tests I'm not able to use these methods. I get: sfException: Call to undefined method myUser::setUid. My "myUser.php.class" looks like this: getAttribute('username'); } publi