Skip to content

Commit

Permalink
Showcasing Received
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-cernil committed Nov 4, 2024
1 parent 4f9e993 commit d7dacfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ToDoList/tests/ToDoList.Test/UnitTests/PostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public void Post_ValidRequest_ReturnsNewItem()

// Assert
Assert.IsType<CreatedAtActionResult>(resultResult);
repositoryMock.Received(1).Create(Arg.Any<ToDoItem>());
Assert.NotNull(value);

Assert.Equal(request.Description, value.Description);
Expand Down

0 comments on commit d7dacfd

Please sign in to comment.