From 70520a0bec2b7fb65e3f8bb33a0481fa1235c951 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 22 Sep 2014 19:22:32 -0400 Subject: [PATCH] Fix accidental breakage of CiviMailUtils --- tests/phpunit/CiviTest/CiviMailUtils.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/CiviTest/CiviMailUtils.php b/tests/phpunit/CiviTest/CiviMailUtils.php index dcb166d842..4e160927fb 100644 --- a/tests/phpunit/CiviTest/CiviMailUtils.php +++ b/tests/phpunit/CiviTest/CiviMailUtils.php @@ -65,9 +65,10 @@ class CiviMailUtils extends PHPUnit_Framework_TestCase { * @param $startImmediately bool Start writing to db now or wait until start() is called */ function __construct(&$unit_test, $startImmediately = TRUE) { + $this->_ut = $unit_test; + // Check if running under webtests or not if (is_subclass_of($unit_test, 'CiviSeleniumTestCase')) { - $this->_ut = $unit_test; $this->_webtest = TRUE; } -- 2.25.1