From: Coleman Watts Date: Thu, 25 Sep 2014 14:45:53 +0000 (-0400) Subject: CiviMailUtils.php code comment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3a35908d74bddb3c1be5ec4499b8182b34d67b6c;p=civicrm-core.git CiviMailUtils.php code comment --- diff --git a/tests/phpunit/CiviTest/CiviMailUtils.php b/tests/phpunit/CiviTest/CiviMailUtils.php index c9957d7ceb..0af4f729be 100644 --- a/tests/phpunit/CiviTest/CiviMailUtils.php +++ b/tests/phpunit/CiviTest/CiviMailUtils.php @@ -122,6 +122,7 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase { // Change outbound mail setting $this->_ut->openCiviPage('admin/setting/smtp', "reset=1", "_qf_Smtp_next"); $this->_ut->click('xpath=//input[@name="outBound_option" and @value="' . $this->_outBound_option . '"]'); + // There will be a warning when switching from test to live mode if ($this->_outBound_option != CRM_Mailing_Config::OUTBOUND_OPTION_DISABLED) { $this->_ut->getAlert(); }