From 85e97c051f59165b7d6ae96509534c03e915c708 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 27 Jul 2015 18:08:48 +0200 Subject: [PATCH] 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 --- tests/phpunit/LessFileCompilationTest.php | 4 ---- 1 file changed, 4 deletions(-) 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(); -- 2.20.1