BAEL-6125 Migrate Application from Spring Boot 2 to Spring Boot 3 -fix test naming
This commit is contained in:
parent
04d70801ec
commit
ef6752a198
|
@ -216,14 +216,14 @@ class TodosControllerApiIntegrationTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void testGetSlashMatchingNotExisting() throws Exception {
|
||||
void whenThereIsNoSlashMatching_ThenHttpStatusIs404() throws Exception {
|
||||
mvc
|
||||
.perform(get(BASEURL + "/name/").contentType(DEFAULT_MEDIA_TYPE))
|
||||
.andExpect(status().isNotFound());
|
||||
}
|
||||
|
||||
@Test
|
||||
void testGetNameExists() throws Exception {
|
||||
void whenThereIsNoSlashMatching_ThenHttpStatusIs200() throws Exception {
|
||||
mvc
|
||||
.perform(get(BASEURL + "/name").contentType(DEFAULT_MEDIA_TYPE))
|
||||
.andExpect(status().isOk());
|
||||
|
|
Loading…
Reference in New Issue