mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
Update tests to reflect deletion of minified scripts
This commit is contained in:
parent
133c104e04
commit
55584fb18a
1 changed files with 2 additions and 11 deletions
|
|
@ -53,17 +53,8 @@ class FrontEndFileHandlerTest extends \Codeception\TestCase\Test
|
||||||
$handler = new FrontEndFileHandler();
|
$handler = new FrontEndFileHandler();
|
||||||
$handler->loadFile(array('./common/css/xe.css'));
|
$handler->loadFile(array('./common/css/xe.css'));
|
||||||
$handler->loadFile(array('./common/css/mobile.css'));
|
$handler->loadFile(array('./common/css/mobile.css'));
|
||||||
|
$expected[] = array('file' => '/xe/common/css/xe.css' . $this->_filemtime('common/css/xe.css'), 'media' => 'all', 'targetie' => null);
|
||||||
if(__DEBUG__ || !__XE_VERSION_STABLE__)
|
$expected[] = array('file' => '/xe/common/css/mobile.css' . $this->_filemtime('common/css/mobile.css'), 'media' => 'all', 'targetie' => null);
|
||||||
{
|
|
||||||
$expected[] = array('file' => '/xe/common/css/xe.css' . $this->_filemtime('common/css/xe.css'), 'media' => 'all', 'targetie' => null);
|
|
||||||
$expected[] = array('file' => '/xe/common/css/mobile.css' . $this->_filemtime('common/css/mobile.css'), 'media' => 'all', 'targetie' => null);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$expected[] = array('file' => '/xe/common/css/xe.min.css' . $this->_filemtime('common/css/xe.min.css'), 'media' => 'all', 'targetie' => null);
|
|
||||||
$expected[] = array('file' => '/xe/common/css/mobile.min.css' . $this->_filemtime('common/css/mobile.min.css'), 'media' => 'all', 'targetie' => null);
|
|
||||||
}
|
|
||||||
$this->assertEquals($handler->getCssFileList(), $expected);
|
$this->assertEquals($handler->getCssFileList(), $expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue