make sure CI member exists

This commit is contained in:
Timothy Warren 2014-08-13 13:27:17 -04:00
부모 c3f0266699
커밋 591173f163
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -24,6 +24,7 @@ class Fixture {
// Turn off foreign key checks for mysql so test tables can be easily truncated
if (getenv('DB') === 'mysql')
{
$this->_assign_db();
$this->CI->db->simple_query('SET foreign_key_checks = 0;');
}
}