Skip to content

Commit

Permalink
Merge pull request #970 from compucorp/CST-334-fix-case-import
Browse files Browse the repository at this point in the history
CST-334: Fix case entity not being imported
  • Loading branch information
olayiwola-compucorp authored Sep 16, 2023
2 parents 9fea9f2 + 0f64ddd commit 4777bc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
run-unit-tests:

runs-on: ubuntu-latest
container: compucorp/civicrm-buildkit:1.3.0-php8.0-chrome
container: compucorp/civicrm-buildkit:1.3.1-php8.0-chrome

env:
CIVICRM_EXTENSIONS_DIR: site/web/sites/all/modules/civicrm/tools/extensions
Expand Down
4 changes: 2 additions & 2 deletions CRM/Civicase/Helper/CaseCategory.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

use CRM_Case_BAO_CaseType as CaseType;
use CRM_Civicase_BAO_CaseCategoryInstance as CaseCategoryInstance;
use CRM_Civicase_Service_CaseCategoryPermission as CaseCategoryPermission;
use CRM_Civicase_Service_CaseManagementUtils as CaseManagementUtils;
use CRM_Civicase_BAO_CaseCategoryInstance as CaseCategoryInstance;

/**
* CaseCategory Helper class with useful functions for managing case categories.
Expand Down Expand Up @@ -87,7 +87,7 @@ public static function getCategoryNameForCaseType($caseTypeId) {
try {
$result = civicrm_api3('CaseType', 'getvalue', [
'id' => $caseTypeId,
'return' => ['case_type_category'],
'return' => 'case_type_category',
]);

if (!empty($result['is_error'])) {
Expand Down

0 comments on commit 4777bc3

Please sign in to comment.