Skip to content

Commit

Permalink
Update TestTodoCore.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
stianleroux committed Sep 16, 2024
1 parent 651f1cb commit af285fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Phase 8/src/02. MVC/Test/Core/TestTodoCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public async Task GetAllAsync()
[Test, Order(3)]
public async Task CompleteAsync()
{
var sutUpdate = new CompleteTodoCommandHandler(this.Context);
var sutUpdate = new CompleteTodoCommandHandler(this.Context, this.CachingService);
var resultUpdate = await sutUpdate.Handle(
new CompleteTodoCommand
{
Expand Down Expand Up @@ -82,7 +82,7 @@ public async Task UpdateAsync()
[Test, Order(5)]
public async Task DeleteAsync()
{
var sutDelete = new DeleteTodoCommandHandler(this.Context);
var sutDelete = new DeleteTodoCommandHandler(this.Context, this.CachingService);
var resultDelete = await sutDelete.Handle(
new DeleteTodoCommand
{
Expand Down

0 comments on commit af285fe

Please sign in to comment.