dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102ea09
)
Deprecate assertException in MediaWikiTestCase as it adds no value
author
jeroendedauw
<jeroendedauw@gmail.com>
Sat, 18 May 2013 17:38:24 +0000
(19:38 +0200)
committer
Jeroen De Dauw
<jeroendedauw@gmail.com>
Fri, 20 Sep 2013 20:48:51 +0000
(20:48 +0000)
setExpectedException, provided by PHPUnit itself, can and should be used instead
Change-Id: I06833eeeb492d2cc4e66b14aaebd5b2061a29e3a
tests/phpunit/MediaWikiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
25ba29e
..
349c510
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-918,6
+918,7
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
* the provided code.
*
* @since 1.21
+ * @deprecated since 1.22 Use setExpectedException
*
* @param callable $code
* @param string $expected