Skip to content

fix: now allows the bypassing of checking outcodes when a postcode is a dummy code#1473

Closed
SamRobinson75684 wants to merge 7 commits intomainfrom
fix/DTOSS-10107-postcode-validation-bypass
Closed

fix: now allows the bypassing of checking outcodes when a postcode is a dummy code#1473
SamRobinson75684 wants to merge 7 commits intomainfrom
fix/DTOSS-10107-postcode-validation-bypass

Conversation

@SamRobinson75684
Copy link
Copy Markdown
Contributor

@SamRobinson75684 SamRobinson75684 commented Aug 12, 2025

… dummy code

Description

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-10107

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 13, 2025

Unit Test Results

✔️ Tests 751 / 751 - passed in 11.7s
📝 Coverage 57.03%
📏 4174 / 7206 lines covered 🌿 991 / 1850 branches covered
🔍 click here for more details

✏️ updated for commit b5e7977

@sonarqubecloud
Copy link
Copy Markdown

@will-larkin-nhs
Copy link
Copy Markdown
Contributor

Can we just check if the postcode is ZZZSECUR in the validate outcode part and return true if it is? I don't think we want to call the parse outcode method at all if it is ZZZSECUR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants