jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Hashar: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I7fc83714c66a1535641db6643c8344600db2f301
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Platonides <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits