From 45a2611a746a01cbe40cc899d5f9aa1d92a2b988 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 9 Jan 2016 21:45:16 +0900 Subject: [PATCH] Fix unit tests to allow duplicate loading --- tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php b/tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php index f85b1dabc..541f50887 100644 --- a/tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php +++ b/tests/unit/classes/frontendfile/FrontEndFileHandlerTest.php @@ -13,6 +13,8 @@ class FrontEndFileHandlerTest extends \Codeception\TestCase\Test public function testFrontEndFileHandler() { $handler = new FrontEndFileHandler(); + HTMLDisplayHandler::$reservedCSS = '/xxx$/'; + HTMLDisplayHandler::$reservedJS = '/xxx$/'; $db_info = Context::getDBInfo() ?: new stdClass; $db_info->minify_scripts = 'N'; Context::setDBInfo($db_info);