Fix unit tests to allow duplicate loading

This commit is contained in:
Kijin Sung 2016-01-09 21:45:16 +09:00
parent 4e8f048c1d
commit 45a2611a74

View file

@ -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);