From ad6d42cd42a84c7d3aba0eeac02ed56fcf9dba10 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 27 Nov 2017 12:39:36 +0100 Subject: [PATCH] Fix config-response-parsing.service.spec --- .../config-response-parsing.service.spec.ts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/app/core/data/config-response-parsing.service.spec.ts b/src/app/core/data/config-response-parsing.service.spec.ts index 62291548a7..46e6d61f8f 100644 --- a/src/app/core/data/config-response-parsing.service.spec.ts +++ b/src/app/core/data/config-response-parsing.service.spec.ts @@ -48,6 +48,10 @@ describe('ConfigResponseParsingService', () => { id:'traditionalpageone',header:'submit.progressbar.describe.stepone', mandatory:true, sectionType:'submission-form', + visibility:{ + main:null, + other:'READONLY' + }, type:'submissionsection', _links:{ self:{ @@ -62,6 +66,10 @@ describe('ConfigResponseParsingService', () => { header:'submit.progressbar.describe.steptwo', mandatory:true, sectionType:'submission-form', + visibility:{ + main:null, + other:'READONLY' + }, type:'submissionsection', _links:{ self:{ @@ -76,6 +84,10 @@ describe('ConfigResponseParsingService', () => { header:'submit.progressbar.upload', mandatory:false, sectionType:'upload', + visibility:{ + main:null, + other:'READONLY' + }, type:'submissionsection', _links:{ self:{ @@ -158,6 +170,10 @@ describe('ConfigResponseParsingService', () => { header: 'submit.progressbar.describe.stepone', mandatory: true, sectionType: 'submission-form', + visibility:{ + main:null, + other:'READONLY' + }, type: 'submissionsection', _links: {} }), @@ -165,6 +181,10 @@ describe('ConfigResponseParsingService', () => { header: 'submit.progressbar.describe.steptwo', mandatory: true, sectionType: 'submission-form', + visibility:{ + main:null, + other:'READONLY' + }, type: 'submissionsection', _links: {} }), @@ -172,6 +192,10 @@ describe('ConfigResponseParsingService', () => { header: 'submit.progressbar.upload', mandatory: false, sectionType: 'upload', + visibility:{ + main:null, + other:'READONLY' + }, type: 'submissionsection', _links: {} }), @@ -179,6 +203,10 @@ describe('ConfigResponseParsingService', () => { header: 'submit.progressbar.license', mandatory: true, sectionType: 'license', + visibility:{ + main:null, + other:'READONLY' + }, type: 'submissionsection', _links: {} })