File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ Note the use of `webEnvironment=RANDOM_PORT` to start the server with a random p
161161
162162Another useful approach is to not start the server at all but to test only the layer below
163163that, where Spring handles the incoming HTTP request and hands it off to your controller.
164- That way, almost of the full stack is used, and your code will be called in exactly the
164+ That way, almost all of the full stack is used, and your code will be called in exactly the
165165same way as if it were processing a real HTTP request but without the cost of starting the
166166server. To do that, use Spring's `MockMvc` and ask for that to be injected for you by
167167using the `@AutoConfigureMockMvc` annotation on the test case. The following listing (from
You can’t perform that action at this time.
0 commit comments