X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsession%2FSessionTest.php;h=f84d435f77c825ae12aa1e7e9d62195cd424d0a4;hp=adf0f5db501354e62fe1ada1b6c4cf9c53985bff;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hpb=d3b580977d71e1bf93279301d90790cf3916d2a3 diff --git a/tests/phpunit/includes/session/SessionTest.php b/tests/phpunit/includes/session/SessionTest.php index adf0f5db50..f84d435f77 100644 --- a/tests/phpunit/includes/session/SessionTest.php +++ b/tests/phpunit/includes/session/SessionTest.php @@ -365,9 +365,9 @@ class SessionTest extends MediaWikiTestCase { $hmac = hash_hmac( 'sha256', $sealed, $hmacKey, true ); $encrypted = base64_encode( $hmac ) . '.' . $sealed; $session->set( 'test', $encrypted ); - \MediaWiki\suppressWarnings(); + \Wikimedia\suppressWarnings(); $this->assertEquals( 'defaulted', $session->getSecret( 'test', 'defaulted' ) ); - \MediaWiki\restoreWarnings(); + \Wikimedia\restoreWarnings(); } }