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
Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
filebackend
/
FileBackendTest.php
diff --git
a/tests/phpunit/includes/filebackend/FileBackendTest.php
b/tests/phpunit/includes/filebackend/FileBackendTest.php
index
31ad1ba
..
2cd4ba6
100644
(file)
--- a/
tests/phpunit/includes/filebackend/FileBackendTest.php
+++ b/
tests/phpunit/includes/filebackend/FileBackendTest.php
@@
-2584,9
+2584,9
@@
class FileBackendTest extends MediaWikiTestCase {
]
];
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$actual = $be->sanitizeOpHeaders( $input );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
$this->assertEquals( $expected, $actual, "Header sanitized properly" );
}