authenticate((HttpURLConnection) uc);
String content = IOUtils.readURL(uc);
- assertThat(content, containsString("change to organisation administrator context"));
+ assertThat(content, containsString("Change to organisation administrator context"));
assertThat(content, containsString("You are authenticated via certificate, so you will be able to perform all actions."));
}
@Test
public void testValidChallenges() throws GeneralSecurityException, IOException, GigiApiException, InterruptedException {
-
+ insertRAContract(u.getId());
// test RA Agent challenge
cookie = cookieWithCertificateLogin(u);
+
testChallengeText("you need to pass the RA Agent Challenge", false);
add100Points(u.getId());