]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/pages/wot/TestTTP.java
add: defense-in-depth mechanism to prevent unauthorized adding of groups
[gigi.git] / tests / org / cacert / gigi / pages / wot / TestTTP.java
index 34b0ca6dfc78c50d7ffad6d3c6a6a461ef72254d..0d3763868fd25b15383ef4fa833394b4e2c2b8d5 100644 (file)
@@ -21,7 +21,7 @@ public class TestTTP extends ClientTest {
     public void testTTPApply() throws IOException {
         String ttp = IOUtils.readURL(get(RequestTTPPage.PATH));
         assertThat(ttp, containsString("<form"));
-        executeBasicWebInteraction(cookie, RequestTTPPage.PATH, "country=0");
+        assertNull(executeBasicWebInteraction(cookie, RequestTTPPage.PATH, "country=0"));
 
         ttp = IOUtils.readURL(get(RequestTTPPage.PATH));
         assertThat(ttp, not(containsString("<form")));