Time picker max hour fixed

This commit is contained in:
Vladimir Enchev
2015-11-23 11:42:24 +02:00
parent 95f7061962
commit efb7fa3e92
2 changed files with 4 additions and 4 deletions

View File

@@ -76,11 +76,11 @@ export function test_WhenCreated_MinHourIs1() {
});
}
export function test_WhenCreated_MaxHourIs23() {
export function test_WhenCreated_MaxHourIs24() {
helper.buildUIAndRunTest(_createTimePicker(), function (views: Array<viewModule.View>) {
var timePicker = <timePickerModule.TimePicker>views[0];
var actualValue = timePicker.maxHour;
var expectedValue = 23;
var expectedValue = 24;
TKUnit.assert(actualValue === expectedValue, "Actual: " + actualValue + "; Expected: " + expectedValue);
});
}