awjrichards has uploaded a new change for review.

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


Change subject: Fix failing tests
......................................................................

Fix failing tests

Change-Id: I58baf0e4c61796b53bd847cf4a223989e0e3ab8b
---
M tests/MobileContextTest.php
M tests/modules/MFResourceLoaderModuleTest.php
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/22/57022/1

diff --git a/tests/MobileContextTest.php b/tests/MobileContextTest.php
index 34c8bd1..56df914 100644
--- a/tests/MobileContextTest.php
+++ b/tests/MobileContextTest.php
@@ -240,7 +240,7 @@
 
        public function getXDeviceInVaryModeProvider() {
                return array(
-                       array( 'webkit', 'no', 'capable' ),
+                       array( 'webkit', 'no', 'webkit' ),
                        array( 'capable', 'no', 'capable' ),
                        array( 'wap', 'yes', 'wap' ),
                );
diff --git a/tests/modules/MFResourceLoaderModuleTest.php 
b/tests/modules/MFResourceLoaderModuleTest.php
index 8aff7d2..c63e3c4 100644
--- a/tests/modules/MFResourceLoaderModuleTest.php
+++ b/tests/modules/MFResourceLoaderModuleTest.php
@@ -96,8 +96,8 @@
                        ),
                        array(
                                $module,
-                               'mw.mobileFrontend.template.add("template", 
"hello\n");' . "\n" .
-                               'mw.mobileFrontend.template.add("template2", 
"goodbye\n");' . "\n"
+                               
'mw.mobileFrontend.template.add("template","hello\n");' . 
+                                       
'mw.mobileFrontend.template.add("template2","goodbye\n");'
                        )
                );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I58baf0e4c61796b53bd847cf4a223989e0e3ab8b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: awjrichards <aricha...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to