Skip to content

Commit ec05a21

Browse files
authored
Update README
1 parent 4730a0a commit ec05a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ namespace MyApp.Tests.Controllers
212212
=> MyMvc // Start a test case.
213213
.Controller<HomeController>(instance => instance // Arrange the controller under test.
214214
.WithUser("TestUser") // Set an authenticated user to the request.
215-
.WithData(MyTestData.GetData())) // Populate the application DbContext with fake data.
215+
.WithData(MyTestData.GetData())) // Populate the application DbContext.
216216
.Calling(c => c.Index()) // Act - invoke the action under test.
217217
.ShouldReturn() // Assert the action behaviour.
218218
.Ok(result => result // Validate the action result type.

0 commit comments

Comments
 (0)