Fix test broken by I826adf9
authorOri Livneh <ori@wikimedia.org>
Fri, 18 Sep 2015 17:26:00 +0000 (10:26 -0700)
committerOri Livneh <ori@wikimedia.org>
Fri, 18 Sep 2015 17:36:42 +0000 (10:36 -0700)
Change-Id: I4313188767d47cf9efcfd24ed2716475a289bb77

tests/phpunit/LessFileCompilationTest.php

index 73fa0b5..eec02ed 100644 (file)
@@ -45,7 +45,7 @@ class LessFileCompilationTest extends ResourceLoaderTestCase {
                $method->setAccessible( true );
                $compiler = $method->invoke( $this->module, $rlContext );
 
-               $this->assertNotNull( $compiler->compileFile( $this->file ) );
+               $this->assertNotNull( $compiler->parseFile( $this->file )->getCss() );
        }
 
        public function toString() {