load->model('Repository_model', 'repositoryModel'); } public function test_main() { global $CI; $rKey = TESTING_REPOSITORY_KEY; $uKey = TESTING_USER_KEY; $branch = TESTING_NEW_BRANCH_NAME; $result = $CI->repositoryModel->deleteBranch($rKey, $uKey, $branch); $this->assertIsBool($result); } public function test_main_empty() { global $CI; $result = $CI->repositoryModel->deleteBranch('', '', ''); $this->assertFalse($result); } }