From 0175cea511fd200d4ccfe0624171f388d340c0ed Mon Sep 17 00:00:00 2001 From: Rohan Katkar Date: Tue, 19 Aug 2014 19:30:02 +0530 Subject: [PATCH] Additional changes for CRM-14961 --- tests/phpunit/WebTest/Contact/MergeContactsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/WebTest/Contact/MergeContactsTest.php b/tests/phpunit/WebTest/Contact/MergeContactsTest.php index c75f46a239..629aa71ec6 100644 --- a/tests/phpunit/WebTest/Contact/MergeContactsTest.php +++ b/tests/phpunit/WebTest/Contact/MergeContactsTest.php @@ -215,7 +215,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase { $this->waitForElementPresent('email_1_email'); $this->type('email_1_email', "{$firstName}.{$lastName}@example.com"); $this->waitForElementPresent('contact_sub_type'); - $this->select('contact_sub_type', "Staff"); + $this->select('contact_sub_type', "Parent"); // Clicking save. $this->click("_qf_Contact_upload_view"); @@ -232,7 +232,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase { $this->type('last_name', $lName); $this->type('email_1_email', "{$firstName}.{$lastName}@example.com"); $this->waitForElementPresent('contact_sub_type'); - $this->select('contact_sub_type', "Parent"); + $this->multiselect2('contact_sub_type', array("Student", "Staff")); $this->click("_qf_Contact_upload_view"); $this->waitForText('crm-notification-container', "Contact Saved"); $this->openCiviPage("contact/deduperules", "reset=1"); @@ -248,7 +248,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase { $this->click('toggleSelect'); $this->click('_qf_Merge_next-bottom'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertTrue($this->isTextPresent("Parent")); + $this->assertTrue($this->isTextPresent("Staff, Student")); } /** * @param $firstName -- 2.25.1