Webtest comment fix
authorColeman Watts <coleman@civicrm.org>
Thu, 2 Apr 2015 15:18:00 +0000 (11:18 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 2 Apr 2015 15:18:00 +0000 (11:18 -0400)
tests/phpunit/WebTest/Mailing/AddMessageTemplateTest.php

index 0ac9ba1b32dbc55c8b2b53896f610689123d2b9d..6d9c5af114ac135785225cfed9ad6faf2c1d551e 100644 (file)
@@ -120,9 +120,7 @@ class WebTest_Mailing_AddMessageTemplateTest extends CiviSeleniumTestCase {
     $this->waitForTextPresent("~1 recipient");
     $this->click("msg_template_id");
     $this->select("msg_template_id", "label=$msgTitle");
-    // Because it tends to cause problems, all uses of sleep() must be justified in comments
-    // Sleep should never be used for wait for anything to load from the server
-    // Justification for this instance: FIXME
+    
     $this->waitForAjaxContent();
     $this->select2('s2id_autogen1', "Unsubscribe via web page");
     $this->select2('s2id_autogen1', "Domain (organization) address");