X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fsession%2FSessionBackendTest.php;h=e0d1c307ab07c48e5c98f30dc27e2178e16fc1ff;hb=f7e1770fb832aa77bf4e16ce8cc815f2b24dd10d;hp=0d345dbbdb2444069b17ca701648ccef4239c19d;hpb=2ecb96a96fdd62b2521b6d9ac2d5e2dac0eba0ec;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/session/SessionBackendTest.php b/tests/phpunit/includes/session/SessionBackendTest.php index 0d345dbbdb..e0d1c307ab 100644 --- a/tests/phpunit/includes/session/SessionBackendTest.php +++ b/tests/phpunit/includes/session/SessionBackendTest.php @@ -330,7 +330,9 @@ class SessionBackendTest extends MediaWikiTestCase { $backend->unpersist(); $this->assertFalse( $backend->isPersistent() ); $this->assertFalse( $this->store->getSession( self::SESSIONID ) ); - $this->assertNotFalse( $wrap->store->get( wfMemcKey( 'MWSession', self::SESSIONID ) ) ); + $this->assertNotFalse( + $wrap->store->get( $wrap->store->makeKey( 'MWSession', self::SESSIONID ) ) + ); } public function testRememberUser() {