From 0566e9945774dea1b672eeb0472685a31c56edca Mon Sep 17 00:00:00 2001 From: Luke Page Date: Sat, 10 Jan 2015 21:11:14 +0000 Subject: [PATCH] DatePicker: increase date range so that tests still pass through 2015 --- tests/unit/datepicker/datepicker_options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.39.5