During PHPUnit test on ProjectTest.php i am getting an Error :-
CDbException: CDbCommand failed to execute the SQL statement: SQLSTATE: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (
FK_comment_issue FOREIGN KEY (
I am using Yii 1.1.8 and PHPunit 3.6.6 test suite. for more check code and screenshot.