Permalink
Browse files

Improvements to unit tests

  • Loading branch information...
1 parent 23779a3 commit 5d3c5c9edb11abc764b7f5c0e4d8d244c325bf55 @kaviththiranga committed Jul 29, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 tests/suites/unit/joomla/media/JMediaCompressorTest.php
@@ -72,6 +72,16 @@ public function testGetRatio()
$this->object->clear();
}
+ public function testGetCompressors()
+ {
+ $expected = array('css','js');
+
+ $test = JMediaCompressor::getCompressors();
+
+ $this->assertEquals($expected, $test);
+
+ }
+
public function testCompressString()
{
$source = JPATH_BASE . '/test_files/css/comments.css';

0 comments on commit 5d3c5c9

Please sign in to comment.