r112895 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112894‎ | r112895 | r112896 >
Date:13:59, 2 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
update fixtures so tests do not break

test broken as of r112894 due to lack of #header
element in fixture
(note) ALWAYS run tests before commiting
Modified paths:
  • /trunk/extensions/MobileFrontend/tests/js/test_opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/tests/js/test_opensearch.js
@@ -49,7 +49,7 @@
5050 setup: function() {
5151 _ajax = MobileFrontend.utils.ajax;
5252 MobileFrontend.utils.ajax = function() {};
53 - $('<div id="sq"><input type="search" id="search"></div>').appendTo(document.body);
 53+ $('<div id="header"><div id="sq"><input type="search" id="search"></div></div>').appendTo(document.body);
5454 $('<div id="results"></div>').appendTo(document.body);
5555 },
5656 teardown: function() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112894include header in results top calculation...jdlrobson13:51, 2 March 2012

Status & tagging log