Skip to content

Commit

Permalink
DatePicker: increase date range so that tests still pass through 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeapage committed Jan 10, 2015
1 parent c217007 commit 0566e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/datepicker/datepicker_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0566e99

Please sign in to comment.