diff --git a/src/main/resources/views/CommercialVehicles/Abandoned.hbs b/src/main/resources/views/CommercialVehicles/Abandoned.hbs index 9cf38220..a7f4757c 100644 --- a/src/main/resources/views/CommercialVehicles/Abandoned.hbs +++ b/src/main/resources/views/CommercialVehicles/Abandoned.hbs @@ -54,7 +54,7 @@
- having been submitted for an examination under Section {{sectionTextRef}} of the Road Traffic Act 1998, it is hereby notified that the examination did not proceed or could not be completed because of a failure to comply with those conditions of acceptance for examination recorded below. + having been submitted for an examination under Section {{sectionTextRef}} of the Road Traffic Act 1988, it is hereby notified that the examination did not proceed or could not be completed because of a failure to comply with those conditions of acceptance for examination recorded below.
diff --git a/src/test/java/pdfverification/tests/AbandonedTests.java b/src/test/java/pdfverification/tests/AbandonedTests.java index 6b9f0fc0..28fb42c9 100644 --- a/src/test/java/pdfverification/tests/AbandonedTests.java +++ b/src/test/java/pdfverification/tests/AbandonedTests.java @@ -20,23 +20,23 @@ public abstract class AbandonedTests { protected PdfReader pdfReader; protected byte[] pdfData; - protected static String DYNAMIC_TITLE_SECTION = "Examination (VTG12)"; - protected static String REGULATION_LINE1 = "Regulations 7 and 8 of the Goods Vehicles (Plating"; - protected static String REGULATION_LINE2 = "and Testing) Regulations 1988 as Amended"; - protected static String VEHICLE_TYPE_TEXT_LINE1 = "In respect of the goods vehicle with registration number / chassis serial number / trailer"; - protected static String VEHICLE_TYPE_TEXT_LINE2 = "identification mark :"; - protected static String VIN = "P O I U Y T R E W Q 0 1 2 3 0 1 0 9 5 6 7 8 9 1"; - protected static String REASONS_FOR_REFUSAL_LINE1 = "Reason 1 exists VTG12"; - protected static String REASONS_FOR_REFUSAL_LINE2 = "Reason 2 exists VTG12"; - protected static String ROLLING_FOOTER_LEFT = "VTG12 (DVSA0440)"; - protected static String ADDITIONAL_COMMENTS = "additional comments VTG12"; - protected static String ROLLING_HEADER_LEFT = "VTG12"; - protected static String ROLLING_HEADER_RIGHT = "Acceptance of a Goods Vehicle for Examination"; - protected static String PRINT_NAME = "fake tester"; - protected static String LOCATION = "fake12312312"; - protected static String LOCATION_NUMBER = "fake12312312"; - protected static String DATE_OF_THE_TEST = "01.02.2024"; - protected static String SECTION_TEXT = "having been submitted for an examination under Section 49 and 51 of the Road Traffic Act 1998, it"; + protected static String DYNAMIC_TITLE_SECTION; + protected static String REGULATION_LINE1; + protected static String REGULATION_LINE2; + protected static String VEHICLE_TYPE_TEXT_LINE1; + protected static String VEHICLE_TYPE_TEXT_LINE2; + protected static String VIN; + protected static String REASONS_FOR_REFUSAL_LINE1; + protected static String REASONS_FOR_REFUSAL_LINE2; + protected static String ROLLING_FOOTER_LEFT; + protected static String ADDITIONAL_COMMENTS; + protected static String ROLLING_HEADER_LEFT; + protected static String ROLLING_HEADER_RIGHT; + protected static String PRINT_NAME; + protected static String LOCATION; + protected static String LOCATION_NUMBER; + protected static String DATE_OF_THE_TEST; + protected static String SECTION_TEXT; public AbandonedTests() { this.htmlGenerator = new HtmlGenerator(new Handlebars()); diff --git a/src/test/java/pdfverification/tests/VTG12Tests.java b/src/test/java/pdfverification/tests/VTG12Tests.java index 8ee300f1..f1a0f398 100644 --- a/src/test/java/pdfverification/tests/VTG12Tests.java +++ b/src/test/java/pdfverification/tests/VTG12Tests.java @@ -31,6 +31,6 @@ public VTG12Tests() { super.LOCATION = "fake12312312"; super.LOCATION_NUMBER = "fake12312312"; super.DATE_OF_THE_TEST = "01.02.2024"; - super.SECTION_TEXT = "having been submitted for an examination under Section 49 and 51 of the Road Traffic Act 1998, it"; + super.SECTION_TEXT = "having been submitted for an examination under Section 49 and 51 of the Road Traffic Act 1988, it"; } } diff --git a/src/test/java/pdfverification/tests/VTP12Tests.java b/src/test/java/pdfverification/tests/VTP12Tests.java index a0ffa4a4..6527334a 100644 --- a/src/test/java/pdfverification/tests/VTP12Tests.java +++ b/src/test/java/pdfverification/tests/VTP12Tests.java @@ -31,6 +31,6 @@ public VTP12Tests() { super.LOCATION = "fake12312312"; super.LOCATION_NUMBER = "fake12312312"; super.DATE_OF_THE_TEST = "01.02.2024"; - super.SECTION_TEXT = "having been submitted for an examination under Section 45 of the Road Traffic Act 1998, it is"; + super.SECTION_TEXT = "having been submitted for an examination under Section 45 of the Road Traffic Act 1988, it is"; } }