From: Luke Page Date: Sat, 10 Jan 2015 21:11:14 +0000 (+0000) Subject: DatePicker: increase date range so that tests still pass through 2015 X-Git-Tag: 1.12.0-beta.1~461 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1419%2Fhead;p=jquery-ui.git DatePicker: increase date range so that tests still pass through 2015 --- diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js index 8f18c8543..11b010717 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/datepicker_options.js @@ -506,8 +506,8 @@ test("minMax", function() { inp.datepicker("option", { minDate: new Date(1900, 0, 1), - maxDate: "-6Y", - yearRange: "1900:-6" + maxDate: "-7Y", + yearRange: "1900:-7" }).val( "" ); ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - relative - next button disabled"); ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - relative - prev button enabled");