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
Destroy session after running api tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
MWFunctionTest.php
diff --git
a/tests/phpunit/includes/MWFunctionTest.php
b/tests/phpunit/includes/MWFunctionTest.php
index
f2a720e
..
f4d1799
100644
(file)
--- a/
tests/phpunit/includes/MWFunctionTest.php
+++ b/
tests/phpunit/includes/MWFunctionTest.php
@@
-13,6
+13,7
@@
class MWFunctionTest extends MediaWikiTestCase {
$args = array( $arg1, $arg2, $arg3, $arg4 );
$newObject = new MWBlankClass( $arg1, $arg2, $arg3, $arg4 );
+ $this->hideDeprecated( 'MWFunction::newObj' );
$this->assertEquals(
MWFunction::newObj( 'MWBlankClass', $args )->args,
$newObject->args