]> WPIA git - gigi.git/blob - tests/club/wpia/gigi/testUtils/ClientBusinessTest.java
upd: rename package name and all references to it
[gigi.git] / tests / club / wpia / gigi / testUtils / ClientBusinessTest.java
1 package club.wpia.gigi.testUtils;
2
3 import club.wpia.gigi.GigiApiException;
4 import club.wpia.gigi.dbObjects.Name;
5 import club.wpia.gigi.dbObjects.User;
6
7 public class ClientBusinessTest extends BusinessTest {
8
9     protected final User u;
10
11     protected final Name n0;
12
13     protected final int id;
14
15     public ClientBusinessTest() {
16         try {
17             id = createVerifiedUser("a", "b", createUniqueName() + "@example.com", TEST_PASSWORD);
18             u = User.getById(id);
19             n0 = u.getNames()[0];
20         } catch (GigiApiException e) {
21             throw new Error(e);
22         }
23     }
24 }