From 4121e1c26f5df9daea350877f270ee2c7aba8ddc Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 13 Aug 2013 18:28:36 +0530 Subject: [PATCH] fixes for --filter=testSearchBuilderContacts WebTest_Contact_SearchBuilderTest --- tests/phpunit/WebTest/Contact/SearchBuilderTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.25.1