]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/testUtils/OrgTest.java
upd: change CountryCode class into a Country class
[gigi.git] / tests / org / cacert / gigi / testUtils / OrgTest.java
index 4e2ea8bd1bb74bd3c990880afa52e5a0349cab61..2a9f5da7fce27068953619bf0d903da998b44c84 100644 (file)
@@ -3,8 +3,8 @@ package org.cacert.gigi.testUtils;
 import java.io.IOException;
 
 import org.cacert.gigi.GigiApiException;
-import org.cacert.gigi.dbObjects.CountryCode;
-import org.cacert.gigi.dbObjects.CountryCode.CountryCodeType;
+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;
 
@@ -18,7 +18,7 @@ public class OrgTest extends ClientTest {
     }
 
     public Organisation createUniqueOrg() throws GigiApiException {
-        Organisation o1 = new Organisation(createUniqueName(), CountryCode.getCountryCode("DE", CountryCodeType.CODE_2_CHARS), "pr", "city", "test@example.com", "", "", u);
+        Organisation o1 = new Organisation(createUniqueName(), Country.getCountryByCode("DE", CountryCodeType.CODE_2_CHARS), "pr", "city", "test@example.com", "", "", u);
         return o1;
     }
 }