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
Add $wgDiffEngine
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiComparePagesTest.php
diff --git
a/tests/phpunit/includes/api/ApiComparePagesTest.php
b/tests/phpunit/includes/api/ApiComparePagesTest.php
index
9b32e9e
..
26c3f8f
100644
(file)
--- a/
tests/phpunit/includes/api/ApiComparePagesTest.php
+++ b/
tests/phpunit/includes/api/ApiComparePagesTest.php
@@
-121,6
+121,8
@@
class ApiComparePagesTest extends ApiTestCase {
* @dataProvider provideDiff
*/
public function testDiff( $params, $expect, $exceptionCode = false, $sysop = false ) {
+ $this->setMwGlobals( [ 'wgDiffEngine' => 'php' ] );
+
$this->doReplacements( $params );
$params += [