Skip to content

Commit 74a0820

Browse files
committed
Correct test fixture to match unit-under-test requirements.
1 parent 172f7e5 commit 74a0820

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

src/app/shared/mocks/submission.mock.ts

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,11 +1668,7 @@ export const mockFileFormData = {
16681668
],
16691669
endDate: [
16701670
{
1671-
value: {
1672-
year: 2019,
1673-
month: 1,
1674-
day: 16
1675-
},
1671+
value: new Date('2019-01-16'),
16761672
language: null,
16771673
authority: null,
16781674
display: {
@@ -1694,19 +1690,15 @@ export const mockFileFormData = {
16941690
value: 'embargo',
16951691
language: null,
16961692
authority: null,
1697-
display: 'lease',
1693+
display: 'embargo',
16981694
confidence: -1,
16991695
place: 0,
17001696
otherInformation: null
17011697
}
17021698
],
17031699
startDate: [
17041700
{
1705-
value: {
1706-
year: 2019,
1707-
month: 1,
1708-
day: 16
1709-
},
1701+
value: new Date('2019-01-16'),
17101702
language: null,
17111703
authority: null,
17121704
display: {

0 commit comments

Comments
 (0)