Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/64499
Change subject: Deprecate assertException in MediaWikiTestCase as it adds no
value
......................................................................
Deprecate assertException in MediaWikiTestCase as it adds no value
setExpectedException, provided by PHPUnit itself, can and should be used instead
Change-Id: I06833eeeb492d2cc4e66b14aaebd5b2061a29e3a
---
M tests/phpunit/MediaWikiTestCase.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/99/64499/1
diff --git a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index 25ba29e..349c510 100644
--- a/tests/phpunit/MediaWikiTestCase.php
+++ b/tests/phpunit/MediaWikiTestCase.php
@@ -918,6 +918,7 @@
* the provided code.
*
* @since 1.21
+ * @deprecated since 1.22 Use setExpectedException
*
* @param callable $code
* @param string $expected
--
To view, visit https://gerrit.wikimedia.org/r/64499
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I06833eeeb492d2cc4e66b14aaebd5b2061a29e3a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits