X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Fclub%2Fwpia%2Fgigi%2FtestUtils%2FSEClientTest.java;h=32cb1d84f380c2b3913ee86e796b8f2e7d757262;hp=a77967295bd6c9bc87c33754284bbe8ff307cabd;hb=86c54e084577b712268320f990facc8e9a09aec6;hpb=c23bd923858a6c589bddecebd65fdf0739c62e6a diff --git a/tests/club/wpia/gigi/testUtils/SEClientTest.java b/tests/club/wpia/gigi/testUtils/SEClientTest.java index a7796729..32cb1d84 100644 --- a/tests/club/wpia/gigi/testUtils/SEClientTest.java +++ b/tests/club/wpia/gigi/testUtils/SEClientTest.java @@ -5,6 +5,7 @@ import static org.junit.Assert.*; import java.io.IOException; import club.wpia.gigi.GigiApiException; +import club.wpia.gigi.dbObjects.CATS.CATSType; import club.wpia.gigi.dbObjects.Group; import club.wpia.gigi.pages.admin.support.SupportEnterTicketPage; @@ -16,6 +17,7 @@ public abstract class SEClientTest extends ClientTest { public SEClientTest() throws IOException, GigiApiException { grant(u, Group.SUPPORTER); + addChallenge(u.getId(), CATSType.SUPPORT_DP_CHALLENGE_NAME); cookie = cookieWithCertificateLogin(u); assertEquals(302, post(cookie, SupportEnterTicketPage.PATH, "ticketno=a20140808.8&setTicket=action", 0).getResponseCode()); }