Skip to content

Add integration tests for Send{Moderator,Subscriber}Email.cs #506

@dthaler

Description

@dthaler

AmazonSimpleEmailServiceClient will need to be mocked, to do so.

Rough sketch:

  1. Create an Email Service Interface (IEmailService.cs)
  2. Create an AwsEmailService.cs wrapper around AmazonSimpleEmailServiceClient that implements IEmailService.
  3. Modify SendModeratorEmail.cs to use dependency injection.
  4. Add SendModeratorEmailIntegrationTests.cs that mocks IEmailService.
  5. Add SendSubscriberEmailIntegrationTests.cs that mocks IEmailService.

Metadata

Metadata

Labels

notification systemIssues relating to the notification system

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions