Skip to content

Commit c036059

Browse files
authored
Merge pull request #610 from companieshouse/fix/lp-925-postcode-error-message
lp-925 : remove postcode html validation
2 parents 29f8f1f + 3cac907 commit c036059

23 files changed

+6
-54
lines changed

locales/cy/translations.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@
223223
"localityLength": "WELSH - Town or city must be 50 characters or less",
224224
"regionLength": "WELSH - County, state, province or region must be 50 characters or less",
225225
"postcodeMissing": "WELSH - Enter a postcode",
226-
"postcodeLength": "WELSH - Postcode must be 15 characters or less",
227226
"postcodeFormat": "WELSH - Invalid postcode format",
228227
"countryMissing": "WELSH - Select a country",
229228
"jurisdictionCountry": "WELSH - You must enter a country that matches your jurisdiction",

locales/en/translations.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@
224224
"localityLength": "Town or city must be 50 characters or less",
225225
"regionLength": "County, state, province or region must be 50 characters or less",
226226
"postcodeMissing": "Enter a postcode",
227-
"postcodeLength": "Postcode must be 15 characters or less",
228227
"postcodeFormat": "Invalid postcode format",
229228
"countryMissing": "Select a country",
230229
"jurisdictionCountry": "You must enter a country that matches your jurisdiction",

src/presentation/test/integration/postTransition/generalPartner/address/enter-general-partner-correspondence-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ describe("Enter Correspondence Address Page", () => {
5454
"principalPlaceOfBusinessAddress",
5555
"jurisdictionCountry",
5656
"postcodeMissing",
57-
"postcodeLength",
5857
"usualResidentialAddress",
5958
"principalOfficeAddress",
6059
"limitedPartner",
@@ -89,7 +88,6 @@ describe("Enter Correspondence Address Page", () => {
8988
"principalPlaceOfBusinessAddress",
9089
"jurisdictionCountry",
9190
"postcodeMissing",
92-
"postcodeLength",
9391
"postcode",
9492
"usualResidentialAddress",
9593
"limitedPartner",

src/presentation/test/integration/postTransition/generalPartner/address/enter-general-partner-principal-office-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ describe("Enter general partner's principal office manual address page", () => {
4444
"principalPlaceOfBusinessAddress",
4545
"jurisdictionCountry",
4646
"postcodeMissing",
47-
"postcodeLength",
4847
"usualResidentialAddress",
4948
"correspondenceAddress",
5049
"principalOfficeAddress",
@@ -73,7 +72,6 @@ describe("Enter general partner's principal office manual address page", () => {
7372
"principalPlaceOfBusinessAddress",
7473
"jurisdictionCountry",
7574
"postcodeMissing",
76-
"postcodeLength",
7775
"usualResidentialAddress",
7876
"correspondenceAddress",
7977
"principalOfficeAddress",

src/presentation/test/integration/postTransition/generalPartner/address/enter-general-partner-usual-residential-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ describe("Enter Usual Residential Address Page", () => {
5050
"principalPlaceOfBusinessAddress",
5151
"jurisdictionCountry",
5252
"postcodeMissing",
53-
"postcodeLength",
5453
"correspondenceAddress",
5554
"principalOfficeAddress",
5655
"postcodeOptional",
@@ -91,7 +90,6 @@ describe("Enter Usual Residential Address Page", () => {
9190
"principalPlaceOfBusinessAddress",
9291
"jurisdictionCountry",
9392
"postcodeMissing",
94-
"postcodeLength",
9593
"postcode",
9694
"correspondenceAddress",
9795
"principalOfficeAddress",

src/presentation/test/integration/postTransition/limitedPartner/address/enter-limited-partner-principal-office-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ describe("Enter limited partner's principal office manual address page", () => {
4444
"principalPlaceOfBusinessAddress",
4545
"jurisdictionCountry",
4646
"postcodeMissing",
47-
"postcodeLength",
4847
"usualResidentialAddress",
4948
"correspondenceAddress",
5049
"principalOfficeAddress",
@@ -73,7 +72,6 @@ describe("Enter limited partner's principal office manual address page", () => {
7372
"principalPlaceOfBusinessAddress",
7473
"jurisdictionCountry",
7574
"postcodeMissing",
76-
"postcodeLength",
7775
"usualResidentialAddress",
7876
"correspondenceAddress",
7977
"principalOfficeAddress",

src/presentation/test/integration/postTransition/limitedPartner/address/enter-limited-partner-usual-residential-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ describe("Enter Usual Residential Address Page", () => {
5050
"principalPlaceOfBusinessAddress",
5151
"jurisdictionCountry",
5252
"postcodeMissing",
53-
"postcodeLength",
5453
"correspondenceAddress",
5554
"principalOfficeAddress",
5655
"postcodeOptional",
@@ -91,7 +90,6 @@ describe("Enter Usual Residential Address Page", () => {
9190
"principalPlaceOfBusinessAddress",
9291
"jurisdictionCountry",
9392
"postcodeMissing",
94-
"postcodeLength",
9593
"postcode",
9694
"correspondenceAddress",
9795
"principalOfficeAddress",

src/presentation/test/integration/registration/generalPartner/address/enter-general-partner-correspondence-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ describe("Enter Correspondence Address Page", () => {
5757
"principalPlaceOfBusinessAddress",
5858
"jurisdictionCountry",
5959
"postcodeMissing",
60-
"postcodeLength",
6160
"usualResidentialAddress",
6261
"principalOfficeAddress",
6362
"limitedPartner",
@@ -92,7 +91,6 @@ describe("Enter Correspondence Address Page", () => {
9291
"principalPlaceOfBusinessAddress",
9392
"jurisdictionCountry",
9493
"postcodeMissing",
95-
"postcodeLength",
9694
"postcode",
9795
"usualResidentialAddress",
9896
"limitedPartner",

src/presentation/test/integration/registration/generalPartner/address/enter-general-partner-principal-office-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ describe("Enter general partner's principal office manual address page", () => {
4343
"principalPlaceOfBusinessAddress",
4444
"jurisdictionCountry",
4545
"postcodeMissing",
46-
"postcodeLength",
4746
"usualResidentialAddress",
4847
"correspondenceAddress",
4948
"principalOfficeAddress",
@@ -72,7 +71,6 @@ describe("Enter general partner's principal office manual address page", () => {
7271
"principalPlaceOfBusinessAddress",
7372
"jurisdictionCountry",
7473
"postcodeMissing",
75-
"postcodeLength",
7674
"usualResidentialAddress",
7775
"correspondenceAddress",
7876
"principalOfficeAddress",

src/presentation/test/integration/registration/generalPartner/address/enter-general-partner-usual-residential-address.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ describe("Enter Usual Residential Address Page", () => {
5050
"principalPlaceOfBusinessAddress",
5151
"jurisdictionCountry",
5252
"postcodeMissing",
53-
"postcodeLength",
5453
"correspondenceAddress",
5554
"principalOfficeAddress",
5655
"postcodeOptional",
@@ -91,7 +90,6 @@ describe("Enter Usual Residential Address Page", () => {
9190
"principalPlaceOfBusinessAddress",
9291
"jurisdictionCountry",
9392
"postcodeMissing",
94-
"postcodeLength",
9593
"postcode",
9694
"correspondenceAddress",
9795
"principalOfficeAddress",

0 commit comments

Comments
 (0)