Fix config-response-parsing.service.spec

This commit is contained in:
Giuseppe Digilio
2017-11-27 12:39:36 +01:00
parent b36498727f
commit ad6d42cd42

View File

@@ -48,6 +48,10 @@ describe('ConfigResponseParsingService', () => {
id:'traditionalpageone',header:'submit.progressbar.describe.stepone', id:'traditionalpageone',header:'submit.progressbar.describe.stepone',
mandatory:true, mandatory:true,
sectionType:'submission-form', sectionType:'submission-form',
visibility:{
main:null,
other:'READONLY'
},
type:'submissionsection', type:'submissionsection',
_links:{ _links:{
self:{ self:{
@@ -62,6 +66,10 @@ describe('ConfigResponseParsingService', () => {
header:'submit.progressbar.describe.steptwo', header:'submit.progressbar.describe.steptwo',
mandatory:true, mandatory:true,
sectionType:'submission-form', sectionType:'submission-form',
visibility:{
main:null,
other:'READONLY'
},
type:'submissionsection', type:'submissionsection',
_links:{ _links:{
self:{ self:{
@@ -76,6 +84,10 @@ describe('ConfigResponseParsingService', () => {
header:'submit.progressbar.upload', header:'submit.progressbar.upload',
mandatory:false, mandatory:false,
sectionType:'upload', sectionType:'upload',
visibility:{
main:null,
other:'READONLY'
},
type:'submissionsection', type:'submissionsection',
_links:{ _links:{
self:{ self:{
@@ -158,6 +170,10 @@ describe('ConfigResponseParsingService', () => {
header: 'submit.progressbar.describe.stepone', header: 'submit.progressbar.describe.stepone',
mandatory: true, mandatory: true,
sectionType: 'submission-form', sectionType: 'submission-form',
visibility:{
main:null,
other:'READONLY'
},
type: 'submissionsection', type: 'submissionsection',
_links: {} _links: {}
}), }),
@@ -165,6 +181,10 @@ describe('ConfigResponseParsingService', () => {
header: 'submit.progressbar.describe.steptwo', header: 'submit.progressbar.describe.steptwo',
mandatory: true, mandatory: true,
sectionType: 'submission-form', sectionType: 'submission-form',
visibility:{
main:null,
other:'READONLY'
},
type: 'submissionsection', type: 'submissionsection',
_links: {} _links: {}
}), }),
@@ -172,6 +192,10 @@ describe('ConfigResponseParsingService', () => {
header: 'submit.progressbar.upload', header: 'submit.progressbar.upload',
mandatory: false, mandatory: false,
sectionType: 'upload', sectionType: 'upload',
visibility:{
main:null,
other:'READONLY'
},
type: 'submissionsection', type: 'submissionsection',
_links: {} _links: {}
}), }),
@@ -179,6 +203,10 @@ describe('ConfigResponseParsingService', () => {
header: 'submit.progressbar.license', header: 'submit.progressbar.license',
mandatory: true, mandatory: true,
sectionType: 'license', sectionType: 'license',
visibility:{
main:null,
other:'READONLY'
},
type: 'submissionsection', type: 'submissionsection',
_links: {} _links: {}
}) })