Polish
Closes gh-5532
This commit is contained in:
committed by
Stephane Nicoll
parent
8a11620052
commit
a28dd9d9e6
@@ -66,7 +66,7 @@ public class UserVehicleControllerApplicationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void welcomeCommandLineRunnerShouldBeAvailble() throws Exception {
|
||||
public void welcomeCommandLineRunnerShouldBeAvailable() throws Exception {
|
||||
// Since we're a @SpringApplicationTest all beans should be available
|
||||
assertThat(this.applicationContext.getBean(WelcomeCommandLineRunner.class))
|
||||
.isNotNull();
|
||||
|
||||
@@ -101,7 +101,7 @@ public class UserVehicleControllerTests {
|
||||
}
|
||||
|
||||
@Test(expected = NoSuchBeanDefinitionException.class)
|
||||
public void welcomeCommandLineRunnerShouldBeAvailble() throws Exception {
|
||||
public void welcomeCommandLineRunnerShouldBeAvailable() throws Exception {
|
||||
// Since we're a @WebMvcTest WelcomeCommandLineRunner should not be available
|
||||
assertThat(this.applicationContext.getBean(WelcomeCommandLineRunner.class));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user