X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FLessFileCompilationTest.php;h=5e1f1a9666fb0847008efca7fc526d1a9259ae65;hb=125a4350e89494acb1e223166b8be05efa8b98b5;hp=73fa0b5dc386a1444e31be1607ad23e7ff0c5d8b;hpb=38514beff4a08f6faf9fa54abf6d813bfec4737a;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/LessFileCompilationTest.php b/tests/phpunit/LessFileCompilationTest.php index 73fa0b5dc3..5e1f1a9666 100644 --- a/tests/phpunit/LessFileCompilationTest.php +++ b/tests/phpunit/LessFileCompilationTest.php @@ -41,11 +41,9 @@ class LessFileCompilationTest extends ResourceLoaderTestCase { $rlContext = $this->getResourceLoaderContext(); // Bleh - $method = new ReflectionMethod( $this->module, 'getLessCompiler' ); + $method = new ReflectionMethod( $this->module, 'compileLessFile' ); $method->setAccessible( true ); - $compiler = $method->invoke( $this->module, $rlContext ); - - $this->assertNotNull( $compiler->compileFile( $this->file ) ); + $this->assertNotNull( $method->invoke( $this->module, $this->file, $rlContext ) ); } public function toString() {