Database: Allow selectFieldValues() to accept SQL fragments
[lhc/web/wiklou.git] / tests / phpunit / includes / config / MultiConfigTest.php
index d1eb510..fc28395 100644 (file)
@@ -17,7 +17,7 @@ class MultiConfigTest extends MediaWikiTestCase {
 
                $this->assertEquals( 'bar', $multi->get( 'foo' ) );
                $this->assertEquals( 'foo', $multi->get( 'bar' ) );
-               $this->setExpectedException( 'ConfigException', 'MultiConfig::get: undefined option:' );
+               $this->setExpectedException( ConfigException::class, 'MultiConfig::get: undefined option:' );
                $multi->get( 'notset' );
        }