Polish test method name to reflect its expectation
Closes gh-19186
This commit is contained in:
parent
f3be59c16a
commit
2be3057904
|
@ -93,7 +93,7 @@ public class UserVehicleControllerTests {
|
|||
}
|
||||
|
||||
@Test(expected = NoSuchBeanDefinitionException.class)
|
||||
public void welcomeCommandLineRunnerShouldBeAvailable() {
|
||||
public void welcomeCommandLineRunnerShouldNotBeAvailable() {
|
||||
// Since we're a @WebMvcTest WelcomeCommandLineRunner should not be available.
|
||||
this.applicationContext.getBean(WelcomeCommandLineRunner.class);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue