Merge "Actually try to load intl for test which requires it."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 24 May 2013 09:23:32 +0000 (09:23 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 24 May 2013 09:23:32 +0000 (09:23 +0000)
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' );
                }
        }