Permalink
Browse files

Fixed access policy integration test failures

  • Loading branch information...
1 parent be3e551 commit 60eb02f78ac23d9af721292fcbff84d156b1810a @christav christav committed Dec 13, 2012
@@ -103,7 +103,7 @@ public void canGetSinglePolicyById() throws Exception {
@Test
public void canGetSinglePolicyByInvalidId() throws Exception {
expectedException.expect(ServiceException.class);
- expectedException.expect(new ServiceExceptionMatcher(500));
+ expectedException.expect(new ServiceExceptionMatcher(400));
service.get(AccessPolicy.get(invalidId));
}
@@ -189,7 +189,7 @@ public void canDeleteAccessPolicyById() throws Exception {
@Test
public void canDeleteAccessPolicyByInvalidId() throws Exception {
expectedException.expect(ServiceException.class);
- expectedException.expect(new ServiceExceptionMatcher(500));
+ expectedException.expect(new ServiceExceptionMatcher(400));
service.delete(AccessPolicy.delete(invalidId));
}

0 comments on commit 60eb02f

Please sign in to comment.