Skip to content
Snippets Groups Projects
Commit 19bbadb6 authored by srosse's avatar srosse
Browse files

OO-3214: fix selenium test for business group

parent 9e3a12e2
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,19 @@ import org.w3c.dom.NodeList;
*/
public class XMLDigitalSignatureUtilTest {
/**
* Preliminary test which read the certificate. The method is used in
* every other test of the class.
*
* @throws Exception
*/
@Test
public void readCertificatePrivateKeyPair() throws Exception {
X509CertificatePrivateKeyPair keyPair = getCertificatePrivateKeyPair();
Assert.assertNotNull(keyPair);
Assert.assertNotNull(keyPair.getPrivateKey());
Assert.assertNotNull(keyPair.getX509Cert());
}
/**
* Check if the cycle sign -> validation works
......
......@@ -801,6 +801,7 @@ public class BusinessGroupTest extends Deployments {
Assert.assertEquals(1, participants);
Assert.assertEquals(2, waitingList);
}
/**
* An author create a course, with an enrollment course element. It
* configure it and create 3 groups and set the maximum enrollment counter to 2<br>
......@@ -813,7 +814,6 @@ public class BusinessGroupTest extends Deployments {
* @throws IOException
* @throws URISyntaxException
*/
@Test
@RunAsClient
public void enrollmentWithMultiEnrollment(@InitialPage LoginPage authorLoginPage,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment