]> WPIA git - gigi.git/blobdiff - tests/club/wpia/gigi/pages/TestMain.java
fix: correct link output on dashboard page
[gigi.git] / tests / club / wpia / gigi / pages / TestMain.java
index be642f03101825d549f33493e76a484cf58192a6..4c0ae78625a0028dfa5eae2025f90dbd42056d09 100644 (file)
@@ -81,7 +81,7 @@ public class TestMain extends ClientTest {
         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."));
     }
 
@@ -97,9 +97,10 @@ public class TestMain extends ClientTest {
 
     @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());