Skip to content

Commit

Permalink
dev/core#530 CiviCase: fixing tests to match new convention
Browse files Browse the repository at this point in the history
  • Loading branch information
alifrumin committed May 7, 2019
1 parent 73053a3 commit 25da3cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/karma/unit/crmCaseTypeSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
}
}, []);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/CRM/Case/BAO/CaseTypeForkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}

/**
Expand Down

0 comments on commit 25da3cc

Please sign in to comment.