fix sslcerttest

This commit is contained in:
Peter Hormanns 2013-04-25 13:22:26 +02:00
parent 66c38b36d4
commit 8635e4bd6c
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import org.junit.runners.Suite;
EMailAliasTest.class, EMailAliasTest.class,
DomainTest.class, DomainTest.class,
EMailAddressTest.class, EMailAddressTest.class,
// SSLCertDomainTest.class SSLCertDomainTest.class
// CustomerTest.class, // CustomerTest.class,
// LongCustomerNameTest.class, // LongCustomerNameTest.class,
// QueueTaskTest.class // QueueTaskTest.class

View File

@ -15,6 +15,7 @@ import org.junit.Test;
import de.hsadmin.core.qserv.CommandShell; import de.hsadmin.core.qserv.CommandShell;
import de.hsadmin.core.qserv.ShellException; import de.hsadmin.core.qserv.ShellException;
import de.hsadmin.core.util.Config; import de.hsadmin.core.util.Config;
import de.hsadmin.mods.pac.Pac;
public class SSLCertDomainTest { public class SSLCertDomainTest {
@ -46,7 +47,7 @@ public class SSLCertDomainTest {
setParams.put("name", "aaa02"); setParams.put("name", "aaa02");
setParams.put("hive", "h99"); setParams.put("hive", "h99");
setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa"); setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa");
setParams.put("basepac", "PAC/WEB"); setParams.put("basepac", Pac.PAC_WEB_BASE);
setParams.put("curinetaddr", "176.9.242.77"); setParams.put("curinetaddr", "176.9.242.77");
Object[] params = new Object[] { user, Object[] params = new Object[] { user,
cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()),
@ -77,7 +78,7 @@ public class SSLCertDomainTest {
setParams.put("name", "aaa03"); setParams.put("name", "aaa03");
setParams.put("hive", "h99"); setParams.put("hive", "h99");
setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa"); setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa");
setParams.put("basepac", "DW/B"); setParams.put("basepac", Pac.PAC_DW_BASE);
setParams.put("curinetaddr", "176.9.242.78"); setParams.put("curinetaddr", "176.9.242.78");
Object[] params = new Object[] { user, Object[] params = new Object[] { user,
cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()),