Daniel Kinzler has submitted this change and it was merged.

Change subject: Avoid deprecation warnings in test cases.
......................................................................


Avoid deprecation warnings in test cases.

a) when testing deprecated functions, use $this->hideDeprecated() to
suppress warnings.

b) use doEditContent() instead of doEdit()

Change-Id: Ifa9e0ef373ed72ef7d4a3c2dd558483af4a3fd55
---
M includes/ContentHandler.php
M includes/WikiPage.php
M tests/parser/parserTest.inc
M tests/phpunit/MediaWikiTestCase.php
M tests/phpunit/includes/ArticleTablesTest.php
M tests/phpunit/includes/ArticleTest.php
M tests/phpunit/includes/ContentHandlerTest.php
M tests/phpunit/includes/RevisionStorageTest.php
M tests/phpunit/includes/RevisionTest.php
M tests/phpunit/includes/TemplateCategoriesTest.php
M tests/phpunit/includes/WikiPageTest.php
M tests/phpunit/includes/search/SearchEngineTest.php
M tests/phpunit/maintenance/DumpTestCase.php
M tests/phpunit/maintenance/fetchTextTest.php
14 files changed, 51 insertions(+), 18 deletions(-)

Approvals:
  Daniel Kinzler: Looks good to me, approved
  jenkins-bot: Verified


--
To view, visit https://gerrit.wikimedia.org/r/21732
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa9e0ef373ed72ef7d4a3c2dd558483af4a3fd55
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: Wikidata
Gerrit-Owner: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to