Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / tests / phpunit / includes / composer / ComposerVersionNormalizerTest.php
index 8a2ebaf..9ade892 100644 (file)
@@ -9,13 +9,15 @@
  */
 class ComposerVersionNormalizerTest extends PHPUnit_Framework_TestCase {
 
+       use MediaWikiCoversValidator;
+
        /**
         * @dataProvider nonStringProvider
         */
        public function testGivenNonString_normalizeThrowsInvalidArgumentException( $nonString ) {
                $normalizer = new ComposerVersionNormalizer();
 
-               $this->setExpectedException( 'InvalidArgumentException' );
+               $this->setExpectedException( InvalidArgumentException::class );
                $normalizer->normalizeSuffix( $nonString );
        }