Exemplo n.º 1
0
 function setUp()
 {
     parent::setUp();
     AssetConfig::clearBuildTimestamp();
     $this->_testFiles = App::pluginPath('AssetCompress') . 'Test' . DS . 'test_files' . DS;
     $this->testConfig = $this->_testFiles . 'Config' . DS . 'integration.ini';
     $this->_themeConfig = $this->_testFiles . 'Config' . DS . 'themed.ini';
     $this->config = AssetConfig::buildFromIniFile($this->testConfig);
     $this->config->cachePath('js', TMP);
     $this->config->set('js.timestamp', true);
     $this->cache = new AssetCache($this->config);
 }