mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-07-16 17:47:22 +00:00
code style cleanup
This commit is contained in:
@@ -10,9 +10,9 @@ public class SendRegistrationEmailHandlerTests
|
||||
[Fact]
|
||||
public async Task Handle_DelegatesToEmailDispatcher()
|
||||
{
|
||||
var dispatcherMock = new Mock<IEmailDispatcher>();
|
||||
var handler = new SendRegistrationEmailHandler(dispatcherMock.Object);
|
||||
var command = new SendRegistrationEmailCommand("Aaron", "aaron@example.com", "token-123");
|
||||
Mock<IEmailDispatcher> dispatcherMock = new();
|
||||
SendRegistrationEmailHandler handler = new(dispatcherMock.Object);
|
||||
SendRegistrationEmailCommand command = new("Aaron", "aaron@example.com", "token-123");
|
||||
|
||||
await handler.Handle(command, CancellationToken.None);
|
||||
|
||||
@@ -21,4 +21,4 @@ public class SendRegistrationEmailHandlerTests
|
||||
Times.Once
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,9 +10,9 @@ public class SendResendConfirmationEmailHandlerTests
|
||||
[Fact]
|
||||
public async Task Handle_DelegatesToEmailDispatcher()
|
||||
{
|
||||
var dispatcherMock = new Mock<IEmailDispatcher>();
|
||||
var handler = new SendResendConfirmationEmailHandler(dispatcherMock.Object);
|
||||
var command = new SendResendConfirmationEmailCommand("Aaron", "aaron@example.com", "token-456");
|
||||
Mock<IEmailDispatcher> dispatcherMock = new();
|
||||
SendResendConfirmationEmailHandler handler = new(dispatcherMock.Object);
|
||||
SendResendConfirmationEmailCommand command = new("Aaron", "aaron@example.com", "token-456");
|
||||
|
||||
await handler.Handle(command, CancellationToken.None);
|
||||
|
||||
@@ -21,4 +21,4 @@ public class SendResendConfirmationEmailHandlerTests
|
||||
Times.Once
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user