We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4730a0a commit ec05a21Copy full SHA for ec05a21
README.md
@@ -212,7 +212,7 @@ namespace MyApp.Tests.Controllers
212
=> MyMvc // Start a test case.
213
.Controller<HomeController>(instance => instance // Arrange the controller under test.
214
.WithUser("TestUser") // Set an authenticated user to the request.
215
- .WithData(MyTestData.GetData())) // Populate the application DbContext with fake data.
+ .WithData(MyTestData.GetData())) // Populate the application DbContext.
216
.Calling(c => c.Index()) // Act - invoke the action under test.
217
.ShouldReturn() // Assert the action behaviour.
218
.Ok(result => result // Validate the action result type.
0 commit comments