From 7436a5d36ac399232418f2ab718dfdeb33267e5c Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 11 May 2013 18:01:53 +0200 Subject: [PATCH] Actually try to load intl for test which requires it. Change-Id: I7fc83714c66a1535641db6643c8344600db2f301 --- tests/phpunit/includes/CollationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } } -- 2.20.1