fix expect test before

This commit is contained in:
danikov 2012-02-23 13:37:32 +00:00
parent 7d5dbbef59
commit e0b1100651
1 changed files with 3 additions and 2 deletions

View File

@ -50,6 +50,7 @@ import org.jclouds.vcloud.director.v1_5.domain.VApp;
import org.jclouds.vcloud.director.v1_5.domain.VAppTemplate; import org.jclouds.vcloud.director.v1_5.domain.VAppTemplate;
import org.jclouds.vcloud.director.v1_5.domain.Vdc; import org.jclouds.vcloud.director.v1_5.domain.Vdc;
import org.jclouds.vcloud.director.v1_5.internal.BaseVCloudDirectorRestClientExpectTest; import org.jclouds.vcloud.director.v1_5.internal.BaseVCloudDirectorRestClientExpectTest;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeGroups; import org.testng.annotations.BeforeGroups;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@ -65,9 +66,9 @@ public class VdcClientExpectTest extends BaseVCloudDirectorRestClientExpectTest
private Reference vdcRef; private Reference vdcRef;
@BeforeGroups(groups = { "unit" }, dependsOnMethods = { "setupClient" }) @BeforeClass
public void before() { public void before() {
String vdcId = "/vdc/e9cd3387-ac57-4d27-a481-9bee75e0690f"; // TODO: inject String vdcId = "/vdc/e9cd3387-ac57-4d27-a481-9bee75e0690f";
vdcRef = Reference.builder() vdcRef = Reference.builder()
.type("application/vnd.vmware.vcloud.vdc+xml") .type("application/vnd.vmware.vcloud.vdc+xml")
.name("") .name("")