Fomafix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/323180

Change subject: Disable tests with language codes 'sr-ec' and 'sr-el'
......................................................................

Disable tests with language codes 'sr-ec' and 'sr-el'

The tests will be reenabled with the new language codes 'sr-cyrl' and
'sr-latn' with I7eaee0170a8d4938c94d1024f9e6f58c94db9c3d.

This step is necessary to success the integration tests in code with
I75da0af35a2066e7963e50c56c99daf1e07c55e6

Bug: T117845
Change-Id: Idca04cd5b1f9b362f89a7b7b3581c5f5736b88c5
---
M lib/tests/phpunit/LanguageFallbackChainFactoryTest.php
M lib/tests/phpunit/LanguageFallbackChainTest.php
2 files changed, 18 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/80/323180/1

diff --git a/lib/tests/phpunit/LanguageFallbackChainFactoryTest.php 
b/lib/tests/phpunit/LanguageFallbackChainFactoryTest.php
index 1202b57..e81e5a0 100644
--- a/lib/tests/phpunit/LanguageFallbackChainFactoryTest.php
+++ b/lib/tests/phpunit/LanguageFallbackChainFactoryTest.php
@@ -233,11 +233,11 @@
                        ) ),
                        array( 'ii', 
LanguageFallbackChainFactory::FALLBACK_OTHERS, array( 'zh-cn', 'zh-hans', 'en' 
) ),
 
-                       array( 'sr', 
LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS, array(
-                               'sr',
-                               array( 'sr', 'sr-ec' ),
-                               array( 'sr', 'sr-el' ),
-                       ) ),
+//                     array( 'sr', 
LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS, array(
+//                             'sr',
+//                             array( 'sr', 'sr-ec' ),
+//                             array( 'sr', 'sr-el' ),
+//                     ) ),
                );
        }
 
diff --git a/lib/tests/phpunit/LanguageFallbackChainTest.php 
b/lib/tests/phpunit/LanguageFallbackChainTest.php
index 3c3d264..49e4d5c 100644
--- a/lib/tests/phpunit/LanguageFallbackChainTest.php
+++ b/lib/tests/phpunit/LanguageFallbackChainTest.php
@@ -93,19 +93,19 @@
                                        'source' => 'zh-cn',
                                ),
                        ),
-                       array(
-                               'sr-ec',
-                               LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS,
-                               $data,
-                               null,
-                       ),
-                       array( 'sr-ec', 
LanguageFallbackChainFactory::FALLBACK_ALL, $data, array(
-                               // Shouldn't be converted to Cyrillic ('фоо') 
as this specific
-                               // value ('foo') is taken from the English 
label.
-                               'value' => 'foo',
-                               'language' => 'en',
-                               'source' => null,
-                       ) ),
+//                     array(
+//                             'sr-ec',
+//                             LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS,
+//                             $data,
+//                             null,
+//                     ),
+//                     array( 'sr-ec', 
LanguageFallbackChainFactory::FALLBACK_ALL, $data, array(
+//                             // Shouldn't be converted to Cyrillic ('фоо') 
as this specific
+//                             // value ('foo') is taken from the English 
label.
+//                             'value' => 'foo',
+//                             'language' => 'en',
+//                             'source' => null,
+//                     ) ),
                        array(
                                'gan-hant',
                                LanguageFallbackChainFactory::FALLBACK_SELF | 
LanguageFallbackChainFactory::FALLBACK_VARIANTS,

-- 
To view, visit https://gerrit.wikimedia.org/r/323180
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idca04cd5b1f9b362f89a7b7b3581c5f5736b88c5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to