"&adddomain&csrf=" + csrf;
String p2 = sendDomainForm(content);
- TestMail mail = getMailReciever().receive();
+ TestMail mail = getMailReceiver().receive();
if (emailVariant == 0) {
mail.verify();
}
}
if (dpc == null) {
fail("Http config not found");
+ return;
}
String res = executeBasicWebInteraction(cookie, p2, "configId=" + dpc.getId());
assertThat(res, containsString("only allowed after"));
BufferedReader br = new BufferedReader(new InputStreamReader(s0.getInputStream(), "UTF-8"));
String fst = br.readLine();
assertEquals("GET /cacert-" + m.group(1) + ".txt HTTP/1.1", fst);
- while ( !br.readLine().equals("")) {
+ while ( !"".equals(br.readLine())) {
}
String res = m.group(2);
PrintWriter out = new PrintWriter(new OutputStreamWriter(s0.getOutputStream(), "UTF-8"));
}
waitForPings(2);
- TestMail mail = getMailReciever().receive();
+ TestMail mail = getMailReceiver().receive();
mail.verify();
String newcontent = IOUtils.readURL(get(p2));