From a182d0b7139ef29d4e956fb7516409c3b7893dd2 Mon Sep 17 00:00:00 2001
From: Craig Broady <Craig.Broady@dvsa.gov.uk>
Date: Thu, 14 Nov 2024 10:32:17 +0000
Subject: [PATCH 1/2] fix(cb2-12681): corrected validation util list

---
 src/utils/validationUtil.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/utils/validationUtil.ts b/src/utils/validationUtil.ts
index 7250c774..5621f32c 100644
--- a/src/utils/validationUtil.ts
+++ b/src/utils/validationUtil.ts
@@ -6,7 +6,7 @@ import {
   CENTRAL_DOCS_TEST,
   HGV_TRL_RWT_TEST,
   IVA_TEST,
-  LEC_TEST,
+  LEC_TEST, MSVA_TEST,
   TIR_TEST,
 } from '@dvsa/cvs-microservice-common/classes/testTypes/Constants';
 import {
@@ -288,7 +288,7 @@ export class ValidationUtil {
 
   private static isIvaTest(tests: TestTypeSchema[]): boolean {
     return tests.every((test: TestTypeSchema) =>
-      TestTypeHelper.validateTestTypeIdInLists([IVA_TEST], test.testTypeId),
+      TestTypeHelper.validateTestTypeIdInLists([IVA_TEST, MSVA_TEST], test.testTypeId),
     );
   }
 

From 846628f87af180043d86581b25933c359c409a3b Mon Sep 17 00:00:00 2001
From: Craig Broady <Craig.Broady@dvsa.gov.uk>
Date: Thu, 14 Nov 2024 10:33:17 +0000
Subject: [PATCH 2/2] fix(cb2-12681): corrected validation util list

---
 src/utils/validationUtil.ts     | 8 ++++++--
 tests/resources/empty-seed.json | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/utils/validationUtil.ts b/src/utils/validationUtil.ts
index 5621f32c..d2dc6b10 100644
--- a/src/utils/validationUtil.ts
+++ b/src/utils/validationUtil.ts
@@ -6,7 +6,8 @@ import {
   CENTRAL_DOCS_TEST,
   HGV_TRL_RWT_TEST,
   IVA_TEST,
-  LEC_TEST, MSVA_TEST,
+  LEC_TEST,
+  MSVA_TEST,
   TIR_TEST,
 } from '@dvsa/cvs-microservice-common/classes/testTypes/Constants';
 import {
@@ -288,7 +289,10 @@ export class ValidationUtil {
 
   private static isIvaTest(tests: TestTypeSchema[]): boolean {
     return tests.every((test: TestTypeSchema) =>
-      TestTypeHelper.validateTestTypeIdInLists([IVA_TEST, MSVA_TEST], test.testTypeId),
+      TestTypeHelper.validateTestTypeIdInLists(
+        [IVA_TEST, MSVA_TEST],
+        test.testTypeId,
+      ),
     );
   }
 
diff --git a/tests/resources/empty-seed.json b/tests/resources/empty-seed.json
index 9e26dfee..0967ef42 100644
--- a/tests/resources/empty-seed.json
+++ b/tests/resources/empty-seed.json
@@ -1 +1 @@
-{}
\ No newline at end of file
+{}