From ebdae78e5eb1c4db6fbe48b669994e409369bdb5 Mon Sep 17 00:00:00 2001 From: Constantin Date: Tue, 30 Jan 2024 15:21:19 +0200 Subject: [PATCH] BAEL-7263: Update test name --- .../thymeleaf/controller/HomeControllerIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web-modules/spring-thymeleaf-5/src/test/java/com/baeldung/thymeleaf/controller/HomeControllerIntegrationTest.java b/spring-web-modules/spring-thymeleaf-5/src/test/java/com/baeldung/thymeleaf/controller/HomeControllerIntegrationTest.java index 33bf74a3ea..6d9d91c689 100644 --- a/spring-web-modules/spring-thymeleaf-5/src/test/java/com/baeldung/thymeleaf/controller/HomeControllerIntegrationTest.java +++ b/spring-web-modules/spring-thymeleaf-5/src/test/java/com/baeldung/thymeleaf/controller/HomeControllerIntegrationTest.java @@ -83,7 +83,7 @@ public class HomeControllerIntegrationTest { } @Test - public void whenUsingUnlessConditionalAndVariableIsNotDefined_thenVariableIsNotPrinted() throws Exception { + public void whenVariableIsDefined_thenUnlessConditionalIsFalse() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/variable-not-defined")) .andExpect(status().isOk()) .andExpect(view().name("checkVariableIsDefined.html"))