Skip to content

Commit c236813

Browse files
committed
MAGETWO-62262: Truncation of year when saved without changes
- Updated datepicker.test.js to fix L1 build issues
1 parent 74ffd14 commit c236813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/lib/ko/bind/datepicker.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define([
5151

5252
todayDate = moment().format(momentFormat);
5353

54-
result = $('input').val();
54+
result = $('input:last').val();
5555

5656
expect(todayDate).toEqual(result);
5757
});

0 commit comments

Comments
 (0)