Commit 2be30579 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish test method name to reflect its expectation

Closes gh-19186
parent f3be59c1
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment