projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-17645 - Add entityRef support for autocompleting Cases
[civicrm-core.git]
/
tests
/
phpunit
/
CRM
/
Case
/
BAO
/
CaseTest.php
diff --git
a/tests/phpunit/CRM/Case/BAO/CaseTest.php
b/tests/phpunit/CRM/Case/BAO/CaseTest.php
index a45f2fc5aa034a220e3c28efa97d8856ec5329b9..3a2addb01f78f4396370d28058e2d5e2266000c6 100644
(file)
--- a/
tests/phpunit/CRM/Case/BAO/CaseTest.php
+++ b/
tests/phpunit/CRM/Case/BAO/CaseTest.php
@@
-41,7
+41,7
@@
class CRM_Case_BAO_CaseTest extends CiviUnitTestCase {
'case_id' => 1,
'contact_id' => 17,
);
- CRM_Case_BAO_Case
::addCaseToContact
($params);
+ CRM_Case_BAO_Case
Contact::create
($params);
$recent = CRM_Utils_Recent::get();
$this->assertEquals('Test Contact - Housing Support', $recent[0]['title']);