Merge "Revert "selenium: add new message banner test to user spec""
[lhc/web/wiklou.git] / tests / phpunit / includes / objectcache / MemcachedBagOStuffTest.php
index 7eb5582..432754b 100644 (file)
@@ -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 );
        }