Miscellaneous fixes and optimizations

This commit is contained in:
Kijin Sung 2016-01-09 11:04:39 +09:00
parent 4bb565dd51
commit f8e020f8ec
3 changed files with 28 additions and 32 deletions

View file

@ -13,7 +13,7 @@ class FrontEndFileHandlerTest extends \Codeception\TestCase\Test
public function testFrontEndFileHandler()
{
$handler = new FrontEndFileHandler();
$db_info = Context::getDBInfo();
$db_info = Context::getDBInfo() ?: new stdClass;
$db_info->minify_scripts = 'N';
Context::setDBInfo($db_info);