Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/51321
Change subject: (bug 45520) fundraising/1.20 branch tests love ...................................................................... (bug 45520) fundraising/1.20 branch tests love The fundraising/1.20 fails a few tests. This patch cherry pick a few modification from master: When testing deprecated functions, use $this->hideDeprecated() to suppress warnings. Introduced by Daniel Kinzeler with 96f7db3f https://gerrit.wikimedia.org/r/#/c/21732/ Change-Id: I5d0b03385de42396d8f819dafe4da28fa1ba1c23 --- M tests/phpunit/includes/RevisionStorageTest.php 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/51321/1 diff --git a/tests/phpunit/includes/RevisionStorageTest.php b/tests/phpunit/includes/RevisionStorageTest.php index 20199b2..6cf5f96 100644 --- a/tests/phpunit/includes/RevisionStorageTest.php +++ b/tests/phpunit/includes/RevisionStorageTest.php @@ -202,6 +202,8 @@ */ public function testGetText() { + $this->hideDeprecated( 'Revision::getText' ); + $orig = $this->makeRevision( array( 'text' => 'hello hello.' ) ); $rev = Revision::newFromId( $orig->getId() ); @@ -213,6 +215,8 @@ */ public function testRevText() { + $this->hideDeprecated( 'Revision::revText' ); + $orig = $this->makeRevision( array( 'text' => 'hello hello rev.' ) ); $rev = Revision::newFromId( $orig->getId() ); @@ -224,6 +228,8 @@ */ public function testGetRawText() { + $this->hideDeprecated( 'Revision::getRawText' ); + $orig = $this->makeRevision( array( 'text' => 'hello hello raw.' ) ); $rev = Revision::newFromId( $orig->getId() ); -- To view, visit https://gerrit.wikimedia.org/r/51321 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5d0b03385de42396d8f819dafe4da28fa1ba1c23 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: fundraising/1.20 Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
