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 "This patch reduces the edit summary length to 500 characters"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiErrorFormatterTest.php
diff --git
a/tests/phpunit/includes/api/ApiErrorFormatterTest.php
b/tests/phpunit/includes/api/ApiErrorFormatterTest.php
index
d47481c
..
aa579ab
100644
(file)
--- a/
tests/phpunit/includes/api/ApiErrorFormatterTest.php
+++ b/
tests/phpunit/includes/api/ApiErrorFormatterTest.php
@@
-575,11
+575,11
@@
class ApiErrorFormatterTest extends MediaWikiLangTestCase {
}
public static function provideGetMessageFromException() {
}
public static function provideGetMessageFromException() {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$usageException = new UsageException(
'<b>Something broke!</b>', 'ue-code', 0, [ 'xxx' => 'yyy', 'baz' => 23 ]
);
$usageException = new UsageException(
'<b>Something broke!</b>', 'ue-code', 0, [ 'xxx' => 'yyy', 'baz' => 23 ]
);
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
return [
'Normal exception' => [
return [
'Normal exception' => [