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
Merge "Avoid ChronologyProtector warnings in the web upgrader"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
LessFileCompilationTest.php
diff --git
a/tests/phpunit/LessFileCompilationTest.php
b/tests/phpunit/LessFileCompilationTest.php
index
df4690a
..
5e1f1a9
100644
(file)
--- a/
tests/phpunit/LessFileCompilationTest.php
+++ b/
tests/phpunit/LessFileCompilationTest.php
@@
-41,15
+41,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->compileFile( $this->file ) );
- }
-
- public function getName( $withDataSet = true ) {
- return $this->toString();
+ $this->assertNotNull( $method->invoke( $this->module, $this->file, $rlContext ) );
}
public function toString() {
}
public function toString() {