-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the commad handler for form a mat
- Loading branch information
1 parent
63602fe
commit 727f1cf
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ public static Mock<HttpMessageHandler> CreateHttpMessageHandlerMock(HttpStatusCo | |
public async Task Handle_NoConversionProjectsFound_ReturnsNotFoundCommandResult() | ||
{ | ||
// Arrange | ||
var command = _fixture.Create<CreateCompleteConversionProjectsCommand>(); | ||
var command = _fixture.Create<CreateCompleteFormAMatConversionProjectsCommand>(); | ||
_mockConversionProjectRepository.Setup(repo => repo.GetProjectsToSendToCompleteAsync(It.IsAny<CancellationToken>())) | ||
.ReturnsAsync((IEnumerable<IProject>)null); | ||
|
||
|
@@ -123,7 +123,7 @@ public async Task Handle_ConversionProjectsExist_SuccessfulResponse_ReturnsComma | |
// Arrange | ||
_fixture.Customize<ProjectDetails>(x => x.With(x => x.AssignedUser, new User(Guid.NewGuid(), "TestFirst TestLast", "[email protected]"))); | ||
|
||
var command = _fixture.Create<CreateCompleteConversionProjectsCommand>(); | ||
var command = _fixture.Create<CreateCompleteFormAMatConversionProjectsCommand>(); | ||
var conversionProjects = _fixture.CreateMany<IProject>().ToList(); | ||
var advisoryDecision = _fixture.Create<ConversionAdvisoryBoardDecision>(); | ||
var successResponse = _fixture.Create<CreateCompleteProjectSuccessResponse>(); | ||
|
@@ -171,7 +171,7 @@ public async Task Handle_ConversionProjectsExist_ErrorResponse_ReturnsCommandSuc | |
// Arrange | ||
_fixture.Customize<ProjectDetails>(x => x.With(x => x.AssignedUser, new User(Guid.NewGuid(), "TestFirst TestLast", "[email protected]"))); | ||
|
||
var command = _fixture.Create<CreateCompleteConversionProjectsCommand>(); | ||
var command = _fixture.Create<CreateCompleteFormAMatConversionProjectsCommand>(); | ||
var conversionProjects = _fixture.CreateMany<IProject>().ToList(); | ||
var advisoryDecision = _fixture.Create<ConversionAdvisoryBoardDecision>(); | ||
var errorResponse = _fixture.Create<CreateCompleteProjectErrorResponse>(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters