]> WPIA git - gigi.git/blob - tests/org/cacert/gigi/testUtils/ClientTest.java
ab88844f07c218f380179d05fae87f3d9a9d6003
[gigi.git] / tests / org / cacert / gigi / testUtils / ClientTest.java
1 package org.cacert.gigi.testUtils;
2
3 import java.io.IOException;
4
5 public abstract class ClientTest extends ManagedTest {
6
7     protected String email = createUniqueName() + "@example.org";
8
9     protected int userid = createVerifiedUser("a", "b", email, TEST_PASSWORD);
10
11     protected String cookie;
12
13     protected String csrf;
14
15     public ClientTest() {
16         try {
17             cookie = login(email, TEST_PASSWORD);
18         } catch (IOException e) {
19             throw new Error(e);
20         }
21     }
22 }