X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2FtestUtils%2FOrgTest.java;fp=tests%2Forg%2Fcacert%2Fgigi%2FtestUtils%2FOrgTest.java;h=0000000000000000000000000000000000000000;hp=5a42a4a6d8d44932d84a136da2aa8d339eb32df3;hb=bccd4cc0dba0f89aa045b113bac46eb8cc1dab4e;hpb=c9ed09f0007fc2c813815be927a5a24b23dab83c diff --git a/tests/org/cacert/gigi/testUtils/OrgTest.java b/tests/org/cacert/gigi/testUtils/OrgTest.java deleted file mode 100644 index 5a42a4a6..00000000 --- a/tests/org/cacert/gigi/testUtils/OrgTest.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.cacert.gigi.testUtils; - -import java.io.IOException; - -import org.cacert.gigi.GigiApiException; -import org.cacert.gigi.dbObjects.Country; -import org.cacert.gigi.dbObjects.Country.CountryCodeType; -import org.cacert.gigi.dbObjects.Group; -import org.cacert.gigi.dbObjects.Organisation; - -public class OrgTest extends ClientTest { - - public OrgTest() throws IOException, GigiApiException { - makeAssurer(u.getId()); - u.grantGroup(getSupporter(), Group.ORGASSURER); - clearCaches(); - cookie = login(email, TEST_PASSWORD); - } - - public Organisation createUniqueOrg() throws GigiApiException { - Organisation o1 = new Organisation(createUniqueName(), Country.getCountryByCode("DE", CountryCodeType.CODE_2_CHARS), "pr", "city", "test@example.com", "", "", u); - return o1; - } -}