Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cb2-11930): force cert number to be set on amended specialist tests #405

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LGin-BJSS
Copy link
Contributor

force cert number to be set on amended specialist tests

Makes amended specialist tests set their certificate number to the test number, if a certificate number is no present in the payload
link to ticket number

Checklist

  • Code has been tested manually
  • PR title includes the JIRA ticket number
  • Branch is rebased against the latest develop
  • Squashed commit contains the JIRA ticket number

@@ -148,6 +148,12 @@ export class VehicleTestController implements IVehicleTestController {
}
// map testTypes back after validation
payload.testTypes = testTypes;
payload.testTypes.forEach(x=>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would probably be better to do. this for loop above where the assigning payload.testTypes to testTypes to keep all of the processing together

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.

5 participants