Fixed test
This commit is contained in:
parent
34243ccef4
commit
01ecd32868
|
@ -78,6 +78,6 @@ public class UserControllerUnitTest {
|
||||||
|
|
||||||
@Test(expected = IllegalArgumentException.class)
|
@Test(expected = IllegalArgumentException.class)
|
||||||
public void whenCalleddeleteUser_thenIllegalArgumentException() {
|
public void whenCalleddeleteUser_thenIllegalArgumentException() {
|
||||||
assertThat(userController.deleteUser(1l, mockedModel)).isEqualTo("index");
|
assertThat(userController.deleteUser(1l, mockedModel)).isEqualTo("redirect:/index");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue