From 158905693cc6394661d184bb2fba9714452edcd7 Mon Sep 17 00:00:00 2001 From: Greg Rushton Date: Tue, 17 Oct 2023 15:15:15 -0400 Subject: [PATCH] fileTypes are not required --- .../DataSubmission/registration_validation.spec.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cypress/component/DataSubmission/registration_validation.spec.js b/cypress/component/DataSubmission/registration_validation.spec.js index a416f0aa1..dec3f8099 100644 --- a/cypress/component/DataSubmission/registration_validation.spec.js +++ b/cypress/component/DataSubmission/registration_validation.spec.js @@ -14,10 +14,6 @@ const formData = { 'dataSubmitterUserId': 1, 'nihAnvilUse': 'I am not NHGRI funded and do not plan to store data in AnVIL', 'consentGroups': [{ - 'fileTypes': [{ - 'fileType': 'Arrays', - 'functionalEquivalence': 'equivalence' - }], 'numberOfParticipants': 2, 'consentGroupName': 'name', 'generalResearchUse': true, @@ -29,8 +25,8 @@ const formData = { let schema = undefined; beforeEach(function () { - cy.fixture('dataset-registration-v1').then(function (schemaData) { - schema = schemaData; + cy.fixture('dataset-registration-v1').then(function (data) { + schema = data; }); });