Fixed test

This commit is contained in:
Horacio López 2020-11-17 21:50:02 -03:00 committed by GitHub
parent 34243ccef4
commit 01ecd32868
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@ public class UserControllerUnitTest {
@Test(expected = IllegalArgumentException.class)
public void whenCalleddeleteUser_thenIllegalArgumentException() {
assertThat(userController.deleteUser(1l, mockedModel)).isEqualTo("index");
assertThat(userController.deleteUser(1l, mockedModel)).isEqualTo("redirect:/index");
}
}