Revert "Temporarily disable failing tests"

This reverts commit 4638e1e428.
This commit is contained in:
Marcus Da Coregio
2022-10-24 09:39:32 -03:00
parent 1a6352ff1a
commit e53ce64d9e
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ class KotlinWebfluxApplicationTests {
.expectHeader().valueEquals("Location", "/log-in")
}
// @Test
@Test
@WithMockUser
fun `protected page can be accessed when authenticated`() {
this.rest.get()

View File

@@ -67,7 +67,7 @@ class KotlinApplicationTests {
.andExpect(status().is3xxRedirection)
}
// @Test
@Test
fun `logged in user can access protected page`() {
val mvcResult = this.mockMvc.perform(formLogin("/log-in").user("user").password("password"))
.andExpect(authenticated()).andReturn()