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:
1) ProjectTest::testCreate
Exception: Unknown method 'users' for class 'ProjectTest'.
YiiRoot/framework/test/CDbTestCase.php:78
WebRoot/trackstar/protected/tests/unit/ProjectTest.php:24
WebRoot/trackstar/protected/tests/unit/ProjectTest.php:24
FAILURES!
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.
My issue was directly related to my fixtures and file name.
[quote name=‘Hobbiest’][color=#1C2837][size=2]Turns out I had my users fixture file name as ‘tbl_users’ when it needs to be ‘tbl_user’ to be the equivalent of the database table name.[/size][/color]
[/quote]
What is on your line number 22 of ProjectTest.php where the error is occurring?