Thymeleaf conditionals (#3949)

* different types of thymeleaf conditionals

* improved thymeleaf conditionals
This commit is contained in:
igorpele
2018-04-07 17:54:06 +02:00
committed by maibin
parent 13bedabb99
commit 3d827783f7
7 changed files with 214 additions and 9 deletions
@@ -59,5 +59,10 @@ public class ExpressionUtilityObjectsControllerIntegrationTest {
public void testDates() throws Exception {
mockMvc.perform(get("/dates").with(testUser()).with(csrf())).andExpect(status().isOk()).andExpect(view().name("dates.html"));
}
@Test
public void testTeachers() throws Exception {
mockMvc.perform(get("/listTeachers").with(testUser()).with(csrf())).andExpect(status().isOk()).andExpect(view().name("listTeachers.html"));
}
}