Browse Source

Check output bundle file format has been added to "AssetControllerTest::testActionCompress()" unit test.

tags/2.0.0-beta
Klimov Paul 12 years ago
parent
commit
ec8fecb8b0
  1. 1
      tests/unit/framework/console/controllers/AssetControllerTest.php

1
tests/unit/framework/console/controllers/AssetControllerTest.php

@ -239,6 +239,7 @@ class AssetControllerTest extends TestCase
// Then :
$this->assertTrue(file_exists($bundleFile), 'Unable to create output bundle file!');
$this->assertTrue(is_array(require($bundleFile)), 'Output bundle file has incorrect format!');
$compressedCssFileName = $this->testAssetsBasePath . DIRECTORY_SEPARATOR . 'all.css';
$this->assertTrue(file_exists($compressedCssFileName), 'Unable to compress CSS files!');

Loading…
Cancel
Save