hnam, on 20 December 2011 - 07:14 AM, said:
When i delete the line:-
it run without any error but when i put this line again according to book instruction error occur.
I am having the same issue. It has to be directly related to a change or changes between Yii 1.1.2 and your Yii 1.1.8 and my Yii 1.1.9.
My error is as follows:
Exception: Unknown method 'users' for class 'ProjectTest'.
Tests: 5, Assertions: 8, Errors: 1.
I am planning on trying to sift through CDbTestCase and the Yii change history and class reference to try and determine what changes need to be made. If I find something I will be sure to report back.