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
Moved warning stuff into MWDebug class.
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
debug
/
MWDebugTest.php
diff --git
a/tests/phpunit/includes/debug/MWDebugTest.php
b/tests/phpunit/includes/debug/MWDebugTest.php
index
1627c47
..
246b291
100644
(file)
--- a/
tests/phpunit/includes/debug/MWDebugTest.php
+++ b/
tests/phpunit/includes/debug/MWDebugTest.php
@@
-12,6
+12,11
@@
class MWDebugTest extends MediaWikiTestCase {
}
/** Clear log before each test */
MWDebug::clearLog();
+ wfSuppressWarnings();
+ }
+
+ function tearDown() {
+ wfRestoreWarnings();
}
function testAddLog() {