CiviMailUtils.php Webtest fix
authorColeman Watts <coleman@civicrm.org>
Thu, 25 Sep 2014 14:30:39 +0000 (10:30 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 25 Sep 2014 14:30:39 +0000 (10:30 -0400)
tests/phpunit/CiviTest/CiviMailUtils.php

index 2298cad2b4576e1b32fc5cbffefd10da8e7032e8..c9957d7cebb8b4aa813ba2053e08aedf71a5b487 100644 (file)
@@ -123,7 +123,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase {
         $this->_ut->openCiviPage('admin/setting/smtp', "reset=1", "_qf_Smtp_next");
         $this->_ut->click('xpath=//input[@name="outBound_option" and @value="' . $this->_outBound_option . '"]');
         if ($this->_outBound_option != CRM_Mailing_Config::OUTBOUND_OPTION_DISABLED) {
-          $this->_ut->chooseOkOnNextConfirmation();
+          $this->_ut->getAlert();
         }
         $this->_ut->clickLink("_qf_Smtp_next");
       }