Form and Date widget tests

This commit is contained in:
Denys Vuika
2016-10-12 21:31:08 +01:00
parent 3b3098ba59
commit 41671b97a3
4 changed files with 75 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ describe('DateWidget', () => {
let dateValue = '13-03-1982';
widget.field = new FormFieldModel(null, {
type: 'date',
value: dateValue
value: '1982-03-13'
});
widget.ngOnInit();