https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113866
Revision: 113866
Author: awjrichards
Date: 2012-03-14 22:14:08 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
Followup r113865, fixing unit tests I broke
Modified Paths:
--------------
trunk/extensions/MobileFrontend/tests/MobileFrontendTest.php
Modified: trunk/extensions/MobileFrontend/tests/MobileFrontendTest.php
===================================================================
--- trunk/extensions/MobileFrontend/tests/MobileFrontendTest.php
2012-03-14 21:55:22 UTC (rev 113865)
+++ trunk/extensions/MobileFrontend/tests/MobileFrontendTest.php
2012-03-14 22:14:08 UTC (rev 113866)
@@ -219,15 +219,14 @@
array( false, null, array() ),
array( true, 'webkit', array() ),
array( false, 'webkit', array( 'action' => 'edit' ) ),
- array( false, 'webkit', array( 'mobileaction' =>
'view_normal_site' ) ),
+ array( false, 'webkit', array( 'useformat' => 'desktop'
) ),
array( true, null, array( 'useformat' => 'mobile-wap' )
),
array( false, null, array( 'useformat' => 'mobile-wap',
'action' => 'edit' ) ),
array( false, null, array( 'useformat' => 'mobile-wap',
'action' => 'history' ) ),
- array( false, null, array( 'useformat' => 'mobile-wap',
'mobileaction' => 'view_normal_site' ) ),
+ array( false, null, array( 'useformat' => 'desktop' ) ),
array( true, null, array( 'useformat' => 'mobile' ) ),
array( false, null, array( 'useformat' => 'mobile',
'action' => 'edit' ) ),
array( false, null, array( 'useformat' => 'mobile',
'action' => 'history' ) ),
- array( false, null, array( 'useformat' => 'mobile',
'mobileaction' => 'view_normal_site' ) ),
);
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs