Merge pull request #7950 from JKingsnorth/CRM-18196
[civicrm-core.git] / tests / phpunit / WebTest / Activity / AddRecurringActivityTest.php
index a94294709051f232fdd7ad33ac8ff6d3c64232a4..e3863ebf4fde7f8b216b162490937df5a40330a4 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -111,7 +111,7 @@ class WebTest_Activity_AddRecurringActivityTest extends CiviSeleniumTestCase {
     }
     $this->type('start_action_offset', $occurrences);
     $this->click('_qf_Activity_upload-bottom');
-    $this->waitForTextPresent('A recurring set will be created with the following dates.');
+    $this->waitForTextPresent('A repeating set will be created with the following dates.');
 
     $this->click("xpath=//div[@class='ui-dialog-buttonset']/button/span[text()='Continue']");
     $this->waitForPageToLoad();
@@ -131,8 +131,7 @@ class WebTest_Activity_AddRecurringActivityTest extends CiviSeleniumTestCase {
     }
 
     $this->assertEquals($occurrences, $countOfActivities);
-    $this->assertTrue($this->isTextPresent("Recurring Activity - (Child)"));
-    $this->assertTrue($this->isTextPresent("Recurring Activity - (Parent)"));
+    $this->assertTrue($this->isTextPresent("Repeating"));
 
     //Cascade changes
     $this->click("xpath=//div[@class='crm-search-results']/table/tbody/tr[2]/td/span/a[text()='Edit']");