-
Notifications
You must be signed in to change notification settings - Fork 9
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
Brp-61 - Additional Application type question on all BRP forms #719
base: master
Are you sure you want to change the base?
Conversation
3697064
to
2763851
Compare
}; | ||
}, | ||
'/someone-else': data => { | ||
return { | ||
template: 'someone-else', | ||
subject: 'Form submitted: Report someone else collecting your BRP. Ref: ' + setRef(data) | ||
subject: 'Form submitted: Report someone else collecting your BRP. Ref: ' + setRef(data) + | ||
' (Application Type: ' + appType(data) + ')' | ||
}; | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good, perhaps you can just talk me through it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks great @rhodine I'll be honest, it's super long, it might be easy just to go through it quickly in a call :)
032cf4d
to
a3a72c3
Compare
}); | ||
}); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooh nice work @rhodine I prefer these tests rather than lots of acceptance tests which are slow and cause build issues ⭐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. This is more of a question? Do we want to be testing all these validators? Is it overkill? We are just essentially adding config and that code has been tested at the HOF level. 🙂
935ea13
to
4cf2974
Compare
9e682e9
to
8be2978
Compare
dde4c47
to
1220f52
Compare
* add application type to email subject header * add unit tests * add character limit for 'other' freetext
1220f52
to
b7c010b
Compare
What?
Why?
How?
Testing?
Tested locally
Screenshots (optional)
Anything Else?