diff --git a/tests/karma/unit/crmCaseTypeSpec.js b/tests/karma/unit/crmCaseTypeSpec.js index 4b0a221346be..2cfb624e2a12 100644 --- a/tests/karma/unit/crmCaseTypeSpec.js +++ b/tests/karma/unit/crmCaseTypeSpec.js @@ -352,13 +352,13 @@ describe('crmCaseType', function() { result.push({ label: relType.label_b_a, - value: relType.id + '_b_a' + value: relType.id + '_a_b' }); if (!isBidirectionalRelationship) { result.push({ label: relType.label_a_b, - value: relType.id + '_a_b' + value: relType.id + '_b_a' }); } }, []); diff --git a/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php b/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php index 09ca91dbe66c..4fce36f37aa1 100644 --- a/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php +++ b/tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php @@ -39,7 +39,7 @@ public function testManagerContact() { ]); //Check if manager is correctly retrieved from xml processor. $xmlProcessor = new CRM_Case_XMLProcessor_Process(); - $this->assertEquals($relTypeID . '_b_a', $xmlProcessor->getCaseManagerRoleId('ForkableCaseType')); + $this->assertEquals($relTypeID . '_a_b', $xmlProcessor->getCaseManagerRoleId('ForkableCaseType')); } /**