X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FCommentStoreTest.php;h=0c5d8e3143433ed71c6c4707e41168ef1bd6fd99;hp=f9b592ec01120232c63d33e5125e47adad0a89e5;hb=733704ed8248f71dfb982d22799104a976d1ada4;hpb=8477d4a6f5949fcb875fb0d21800866bc548fc05 diff --git a/tests/phpunit/includes/CommentStoreTest.php b/tests/phpunit/includes/CommentStoreTest.php index f9b592ec01..0c5d8e3143 100644 --- a/tests/phpunit/includes/CommentStoreTest.php +++ b/tests/phpunit/includes/CommentStoreTest.php @@ -35,6 +35,7 @@ class CommentStoreTest extends MediaWikiLangTestCase { * @return CommentStore */ protected function makeStoreWithKey( $stage, $key ) { + $this->hideDeprecated( 'CommentStore::newKey' ); $store = CommentStore::newKey( $key ); TestingAccessWrapper::newFromObject( $store )->stage = $stage; return $store; @@ -774,6 +775,7 @@ class CommentStoreTest extends MediaWikiLangTestCase { } public function testNewKey() { + $this->hideDeprecated( 'CommentStore::newKey' ); $this->assertInstanceOf( CommentStore::class, CommentStore::newKey( 'dummy' ) ); }