chap6 gerUserOptions project.users undefined

Hi, i have skipped all the test since my phpunit isn’t working

this is the part i skipped p.125

public $fixtures=array(


‘users’=>‘User’, ‘projUsrAssign’=>’:tbl_project_user_assignment’, );

which assigned the users from the table instead of AR

which i got this error: Property "Project.users" is not defined.

what code is generated by that test? and where should i put it to define project.users



in function relation() must have

‘users’ => array(self::MANY_MANY, ‘User’, ‘tbl_project_user_assignment(project_id, user_id)’),

thank you so much!! thats exactly what i missed!!