Closed Titansmasher closed 6 years ago
Can one of the admins verify this patch?
Hey @danny-may thanks for the contribution! I’ll get someone who knows more .NET than me to take a look at it.
@govuk-notify-jenkins test this please
Im not sure how to merge the commits without re-doing the PR/branch. Is a squash merge not possible from your end?
EDIT: Never mind, I figured it out! @karlbaker02 I think this is all ready
@govuk-notify-jenkins test this please
Hey @danny-may, @karlbaker02 thanks again for your work on this. Going to merge now…
No problem, happy to help 😄
What problem does the pull request solve?
The NotificationClient did not implement the INotificationClient interface. Being unable to use an interface in the place of the NotificationClient makes unit testing rather painful, as we have to instead mock the IHttpClient.
Checklist
README.md, CHANGELOG.md and CONTRIBUTING.md
) I am unsure if any doccumentation would need to change as the usage of the NotificationClient is unchangedsrc/Notify/Notify.csproj
)