[Minor] fixed compile error due to change in privilege
This commit is contained in:
parent
aa5ac4f7da
commit
8408e5e62a
|
@ -46,14 +46,14 @@ public class ServiceTest extends AbstractServiceTest {
|
|||
public void shouldFailInvalidCertificate1() {
|
||||
this.thrown.expect(PrivilegeException.class);
|
||||
TestService testService = new TestService();
|
||||
getServiceHandler().doService(new Certificate(null, 0, null, null, null, null, null), testService);
|
||||
getServiceHandler().doService(new Certificate(null, 0, null, null, null, null), testService);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldFailInvalidCertificate2() {
|
||||
this.thrown.expect(AccessDeniedException.class);
|
||||
TestService testService = new TestService();
|
||||
Certificate badCert = new Certificate("1", System.currentTimeMillis(), "bob", "dsdf", "dferg", null, null); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
||||
Certificate badCert = new Certificate("1", System.currentTimeMillis(), "bob", "dsdf", null, null); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
getServiceHandler().doService(badCert, testService);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue