phpunit: Remove unused assertNotTag() and assertTag() overrides
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 31 Mar 2017 23:32:24 +0000 (16:32 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 1 Apr 2017 00:30:38 +0000 (17:30 -0700)
commit812cfe419af9e964767408a391ba073d91b37fd6
tree882f433a3144750f36c1610f5b6b02e5f2122b17
parent810933912f17d7f0c2355465c28e75aabd3c56b6
phpunit: Remove unused assertNotTag() and assertTag() overrides

Deprecated since PHPUnit 4.2, we use PHPUnit 4.8 and would like
to be compatible with PHPUnit 5 which no longer has this method.

The current hack was only enough to avoid the deprecation warning,
the underlying logic in Xml::findNodes() was also removed in PHPUnit 5.

Follows-up 23ec64745cdba0522f70, T71505.

* assertNotTag() is not used anywhere in Wikimedia Git.
* assertTag() was used in 1 test in core, fixed in the parent commit.
  Match in mediawiki/skins/chameleon is unrelated.

Change-Id: I56b8f1f88124d69190938fc522ea75419e96c49c
tests/phpunit/MediaWikiTestCase.php