From: Antoine Musso Date: Mon, 27 Jul 2015 16:08:48 +0000 (+0200) Subject: Actually run the Less compilation tests X-Git-Tag: 1.31.0-rc.0~10571^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=85e97c051f59165b7d6ae96509534c03e915c708;p=lhc%2Fweb%2Fwiklou.git Actually run the Less compilation tests The testcase overrides the getName() method which is used by PHPUnit to filter out invalid classes. Remove the method to let PHPUnit pick up the tests. Tested locally using: php phpunit.php --debug --filter testLessFileCompilation Bug: T106780 Change-Id: I5a59d69c96273725c2d4ca78d5e1b7303dd5cbf2 --- diff --git a/tests/phpunit/LessFileCompilationTest.php b/tests/phpunit/LessFileCompilationTest.php index df4690a4f6..73fa0b5dc3 100644 --- a/tests/phpunit/LessFileCompilationTest.php +++ b/tests/phpunit/LessFileCompilationTest.php @@ -48,10 +48,6 @@ class LessFileCompilationTest extends ResourceLoaderTestCase { $this->assertNotNull( $compiler->compileFile( $this->file ) ); } - public function getName( $withDataSet = true ) { - return $this->toString(); - } - public function toString() { $moduleName = $this->module->getName();