From: kurund Date: Tue, 13 Aug 2013 12:58:36 +0000 (+0530) Subject: fixes for --filter=testSearchBuilderContacts WebTest_Contact_SearchBuilderTest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4121e1c26f5df9daea350877f270ee2c7aba8ddc;p=civicrm-core.git fixes for --filter=testSearchBuilderContacts WebTest_Contact_SearchBuilderTest --- diff --git a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php index 1877a6e1fd..849896772f 100644 --- a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php +++ b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php @@ -196,14 +196,13 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase { $firstName8 = "abcc" . substr(sha1(rand()), 0, 7); $this->_createContact('Individual', $firstName8, "$firstName8@advsearch.co.in", NULL); - $this->_searchBuilder('Note(s): Body and Subject', "this is subject by $firstName8", $firstName8, 'LIKE'); $this->_searchBuilder('Note(s): Body and Subject', "this is notes by $firstName8", $firstName8, 'LIKE'); $this->_searchBuilder('Note(s): Subject only', "this is subject by $firstName8", $firstName8, 'LIKE'); $this->_searchBuilder('Note(s): Body only', "this is notes by $firstName8", $firstName8, 'LIKE'); $this->_advancedSearch("this is notes by $firstName8", $firstName8, NULL, NULL, 'note_body', 'notes'); $this->_advancedSearch("this is subject by $firstName8", $firstName8, NULL, NULL, 'note_subject', 'notes'); $this->_advancedSearch("this is notes by $firstName8", $firstName8, NULL, NULL, 'note_both', 'notes'); - $this->_advancedSearch("this is subject by $firstName8", $firstName8, NULL, NULL, 'note_both', 'notes'); + $this->_advancedSearch("this is notes by $firstName8", $firstName8, NULL, NULL, 'note_both', 'notes'); } function _searchBuilder($field, $fieldValue = NULL, $name = NULL, $op = '=', $count = NULL) {