From: Coleman Watts Date: Thu, 25 Sep 2014 14:30:39 +0000 (-0400) Subject: CiviMailUtils.php Webtest fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=499508f0e0588e4a1a12ad48f8cb44712448fd7c;p=civicrm-core.git CiviMailUtils.php Webtest fix --- diff --git a/tests/phpunit/CiviTest/CiviMailUtils.php b/tests/phpunit/CiviTest/CiviMailUtils.php index 2298cad2b4..c9957d7ceb 100644 --- a/tests/phpunit/CiviTest/CiviMailUtils.php +++ b/tests/phpunit/CiviTest/CiviMailUtils.php @@ -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"); }