mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 00:59:58 +09:00
Fix unit tests to allow duplicate loading
This commit is contained in:
parent
4e8f048c1d
commit
45a2611a74
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ class FrontEndFileHandlerTest extends \Codeception\TestCase\Test
|
||||||
public function testFrontEndFileHandler()
|
public function testFrontEndFileHandler()
|
||||||
{
|
{
|
||||||
$handler = new FrontEndFileHandler();
|
$handler = new FrontEndFileHandler();
|
||||||
|
HTMLDisplayHandler::$reservedCSS = '/xxx$/';
|
||||||
|
HTMLDisplayHandler::$reservedJS = '/xxx$/';
|
||||||
$db_info = Context::getDBInfo() ?: new stdClass;
|
$db_info = Context::getDBInfo() ?: new stdClass;
|
||||||
$db_info->minify_scripts = 'N';
|
$db_info->minify_scripts = 'N';
|
||||||
Context::setDBInfo($db_info);
|
Context::setDBInfo($db_info);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue