X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FLessFileCompilationTest.php;h=5e1f1a9666fb0847008efca7fc526d1a9259ae65;hb=06fe44872c16bc968f94131b1d05c50d7e3101e6;hp=73fa0b5dc386a1444e31be1607ad23e7ff0c5d8b;hpb=f6b7ffab94a873f324e8d65cee909221d1651325;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() {