[Fix] fix broken test
This commit is contained in:
parent
73355e4144
commit
574f8fc058
|
@ -601,7 +601,7 @@ public class PrivilegeTest extends AbstractPrivilegeTest {
|
||||||
this.ctx.validateAction(restrictable);
|
this.ctx.validateAction(restrictable);
|
||||||
fail("Should fail as bob does not have role app");
|
fail("Should fail as bob does not have role app");
|
||||||
} catch (AccessDeniedException e) {
|
} catch (AccessDeniedException e) {
|
||||||
String msg = "User bob does not have the privilege li.strolch.privilege.test.model.TestRestrictable needed for Restrictable li.strolch.privilege.test.model.TestRestrictable";
|
String msg = "User bob does not have the privilege li.strolch.privilege.test.model.TestRestrictable needed for Restrictable li.strolch.privilege.test.model.TestRestrictable and value li.strolch.privilege.test.model.TestRestrictable";
|
||||||
assertEquals(msg, e.getLocalizedMessage());
|
assertEquals(msg, e.getLocalizedMessage());
|
||||||
} finally {
|
} finally {
|
||||||
logout();
|
logout();
|
||||||
|
|
Loading…
Reference in New Issue