dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Follow-up Ifa346c8a92: LanguageNameUtils: CONSTRUCTOR_OTPIONS, not constructorOptions
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
LessFileCompilationTest.php
diff --git
a/tests/phpunit/LessFileCompilationTest.php
b/tests/phpunit/LessFileCompilationTest.php
index
eec02ed
..
1f1c395
100644
(file)
--- a/
tests/phpunit/LessFileCompilationTest.php
+++ b/
tests/phpunit/LessFileCompilationTest.php
@@
-5,6
+5,7
@@
*
* @see https://github.com/sebastianbergmann/phpunit/blob/master/src/Extensions/PhptTestCase.php
* @author Sam Smith <samsmith@wikimedia.org>
*
* @see https://github.com/sebastianbergmann/phpunit/blob/master/src/Extensions/PhptTestCase.php
* @author Sam Smith <samsmith@wikimedia.org>
+ * @coversNothing
*/
class LessFileCompilationTest extends ResourceLoaderTestCase {
*/
class LessFileCompilationTest extends ResourceLoaderTestCase {
@@
-41,11
+42,9
@@
class LessFileCompilationTest extends ResourceLoaderTestCase {
$rlContext = $this->getResourceLoaderContext();
// Bleh
$rlContext = $this->getResourceLoaderContext();
// Bleh
- $method = new ReflectionMethod( $this->module, '
getLessCompiler
' );
+ $method = new ReflectionMethod( $this->module, '
compileLessFile
' );
$method->setAccessible( true );
$method->setAccessible( true );
- $compiler = $method->invoke( $this->module, $rlContext );
-
- $this->assertNotNull( $compiler->parseFile( $this->file )->getCss() );
+ $this->assertNotNull( $method->invoke( $this->module, $this->file, $rlContext ) );
}
public function toString() {
}
public function toString() {