X-Git-Url: http://git.cyclocoop.org/url?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fobjectcache%2FMemcachedBagOStuffTest.php;h=432754b6022bac6a722bfbda5c13b052dab699d2;hb=526341516a91502ac7cfd2e5590e7432b3f50c5d;hp=7eb55820e5b6ab74069d73369f4d928eab9ad683;hpb=df3e3f44cb4464851d324a70d272858043223a1a;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php b/tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php index 7eb55820e5..432754b602 100644 --- a/tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php +++ b/tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php @@ -90,7 +90,7 @@ class MemcachedBagOStuffTest extends MediaWikiTestCase { * @covers MemcachedBagOStuff::validateKeyEncoding */ public function testValidateKeyEncodingThrowsException( $key ) { - $this->setExpectedException( 'Exception' ); + $this->setExpectedException( Exception::class ); $this->cache->validateKeyEncoding( $key ); }