projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d976e59
)
Add in unit test to confirm fix of quicksearch filter on email
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 17 Dec 2018 20:45:03 +0000
(07:45 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 17 Dec 2018 20:45:03 +0000
(07:45 +1100)
tests/phpunit/api/v3/ContactTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/ContactTest.php
b/tests/phpunit/api/v3/ContactTest.php
index f56fd7aac01b55b73e2cc55aed31c69cc6c37f2c..fc46a7ac9a3d7890469f53ba4f5d15497a796e95 100644
(file)
--- a/
tests/phpunit/api/v3/ContactTest.php
+++ b/
tests/phpunit/api/v3/ContactTest.php
@@
-1792,6
+1792,12
@@
class api_v3_ContactTest extends CiviUnitTestCase {
$result = $this->callAPISuccess('contact', 'getquick', $params);
$this->assertEquals(17, $result['values'][0]['id']);
+ $params = array(
+ 'name' => "TestContact@example.com",
+ 'field_name' => 'sort_name',
+ );
+ $result = $this->callAPISuccess('contact', 'getquick', $params);
+ $this->assertEquals(17, $result['values'][0]['id']);
}
/**