Ori.livneh has submitted this change and it was merged.

Change subject: Fix test broken by I826adf9
......................................................................


Fix test broken by I826adf9

Change-Id: I4313188767d47cf9efcfd24ed2716475a289bb77
---
M tests/phpunit/LessFileCompilationTest.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



diff --git a/tests/phpunit/LessFileCompilationTest.php 
b/tests/phpunit/LessFileCompilationTest.php
index 73fa0b5..eec02ed 100644
--- a/tests/phpunit/LessFileCompilationTest.php
+++ b/tests/phpunit/LessFileCompilationTest.php
@@ -45,7 +45,7 @@
                $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() {

-- 
To view, visit https://gerrit.wikimedia.org/r/239419
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4313188767d47cf9efcfd24ed2716475a289bb77
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to