From: Platonides Date: Sat, 11 May 2013 16:01:53 +0000 (+0200) Subject: Actually try to load intl for test which requires it. X-Git-Tag: 1.31.0-rc.0~19595^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=7436a5d36ac399232418f2ab718dfdeb33267e5c;p=lhc%2Fweb%2Fwiklou.git Actually try to load intl for test which requires it. Change-Id: I7fc83714c66a1535641db6643c8344600db2f301 --- diff --git a/tests/phpunit/includes/CollationTest.php b/tests/phpunit/includes/CollationTest.php index f1004fbf66..ae35fd7a42 100644 --- a/tests/phpunit/includes/CollationTest.php +++ b/tests/phpunit/includes/CollationTest.php @@ -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' ); } }