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 f3be59c commit 2be3057Copy full SHA for 2be3057
spring-boot-samples/spring-boot-sample-test/src/test/java/sample/test/web/UserVehicleControllerTests.java
@@ -93,7 +93,7 @@ public void getVehicleWhenVinNotFoundShouldReturnNotFound() throws Exception {
93
}
94
95
@Test(expected = NoSuchBeanDefinitionException.class)
96
- public void welcomeCommandLineRunnerShouldBeAvailable() {
+ public void welcomeCommandLineRunnerShouldNotBeAvailable() {
97
// Since we're a @WebMvcTest WelcomeCommandLineRunner should not be available.
98
this.applicationContext.getBean(WelcomeCommandLineRunner.class);
99
0 commit comments