tests: Use checkPHPExtension() instead of re-implementing it
[lhc/web/wiklou.git] / tests / phpunit / includes / collation / CollationFaTest.php
index 178a51c..f745541 100644 (file)
@@ -13,9 +13,7 @@ class CollationFaTest extends MediaWikiTestCase {
 
        public function setUp() {
                parent::setUp();
-               if ( !extension_loaded( 'intl' ) ) {
-                       $this->markTestSkipped( "PHP extension 'intl' is not loaded, skipping." );
-               }
+               $this->checkPHPExtension( 'intl' );
        }
 
        /**