Platonides has uploaded a new change for review.
https://gerrit.wikimedia.org/r/63281
Change subject: Actually try to load intl for test which requires it.
......................................................................
Actually try to load intl for test which requires it.
Change-Id: I7fc83714c66a1535641db6643c8344600db2f301
---
M tests/phpunit/includes/CollationTest.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/81/63281/1
diff --git a/tests/phpunit/includes/CollationTest.php
b/tests/phpunit/includes/CollationTest.php
index f1004fb..ae35fd7 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' );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/63281
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7fc83714c66a1535641db6643c8344600db2f301
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Platonides <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits