Skip to content

Commit

Permalink
feat(cb2-9620): refactor name based on PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrown authored and nbrown committed Nov 1, 2023
1 parent b7b052c commit 8242f74
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/java/uk/gov/dvsa/enums/CertificateTemplates.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public enum CertificateTemplates {

INSPECTION_CHECKLIST("MOT/Inspection_Checklist"),

IVA30_FAIL("CommercialVehicles/IVA30_Fail");
IVA30("CommercialVehicles/IVA30");

private final String certificateTemplateName;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/uk/gov/dvsa/enums/CertificateTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public enum CertificateTypes {

INSPECTION_CHECKLIST("MOT/InspectionChecklist"),

IVA30_FAIL("CVS/IVA30_Fail");
IVA30("CVS/IVA30");

private final String certificateType;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/uk/gov/dvsa/enums/DocumentsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public enum DocumentsConfig {
INSPECTION_CHECKLIST(CertificateTypes.INSPECTION_CHECKLIST.getCertificateType(), InspectionChecklist.class,
new String[]{CertificateTemplates.INSPECTION_CHECKLIST.getCertificateTemplateName()}),

IVA30_Fail(CertificateTypes.IVA30_FAIL.getCertificateType(), IVA30Fail.class,
new String[]{CertificateTemplates.IVA30_FAIL.getCertificateTemplateName()});
IVA30(CertificateTypes.IVA30.getCertificateType(), IVA30.class,
new String[]{CertificateTemplates.IVA30.getCertificateTemplateName()});


private final String documentName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
import uk.gov.dvsa.model.Document;

@JsonIgnoreProperties(ignoreUnknown = true)
public class IVA30Fail extends Document {
public class IVA30 extends Document {
@JsonProperty("dummyProperty")
private String dummyProperty;

public String getDummyProperty() {
return dummyProperty;
}
public IVA30Fail setDummyProperty(String dummyProperty) {
public IVA30 setDummyProperty(String dummyProperty) {
this.dummyProperty = dummyProperty;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>IVA30 Fail</title>
<title>IVA30</title>
<style type="text/css" media="print, screen">
{{~> assets/stylesheets/iva-30-fail this}}
</style>
Expand Down

0 comments on commit 8242f74

Please sign in to comment.