Actually try to load intl for test which requires it.
authorPlatonides <platonides@gmail.com>
Sat, 11 May 2013 16:01:53 +0000 (18:01 +0200)
committerPlatonides <platonides@gmail.com>
Sat, 11 May 2013 16:01:53 +0000 (18:01 +0200)
Change-Id: I7fc83714c66a1535641db6643c8344600db2f301

tests/phpunit/includes/CollationTest.php

index f1004fb..ae35fd7 100644 (file)
@@ -2,7 +2,7 @@
 class CollationTest extends MediaWikiLangTestCase {
        protected function setUp() {
                parent::setUp();
-               if ( !extension_loaded( 'intl' ) ) {
+               if ( !wfDl( 'intl' ) ) {
                        $this->markTestSkipped( 'These tests require intl extension' );
                }
        }