From 3a35908d74bddb3c1be5ec4499b8182b34d67b6c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 25 Sep 2014 10:45:53 -0400 Subject: [PATCH] CiviMailUtils.php code comment --- tests/phpunit/CiviTest/CiviMailUtils.php | 1 + 1 file changed, 1 insertion(+) 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(); } -- 2.25.1