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
Allow marking legacy ContentHandler hooks as deprecated
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
content
/
ContentHandlerTest.php
diff --git
a/tests/phpunit/includes/content/ContentHandlerTest.php
b/tests/phpunit/includes/content/ContentHandlerTest.php
index
bb9050f
..
6168182
100644
(file)
--- a/
tests/phpunit/includes/content/ContentHandlerTest.php
+++ b/
tests/phpunit/includes/content/ContentHandlerTest.php
@@
-376,8
+376,7
@@
class ContentHandlerTest extends MediaWikiTestCase {
$content = new WikitextContent( 'test text' );
$ok = ContentHandler::runLegacyHooks(
'testRunLegacyHooks',
- [ 'foo', &$content, 'bar' ],
- false
+ [ 'foo', &$content, 'bar' ]
);
$this->assertTrue( $ok, "runLegacyHooks should have returned true" );