Fxied tests according to the fixed gcube model
This commit is contained in:
parent
7bb49b1f4c
commit
e3aa414108
|
@ -155,10 +155,7 @@ public class ERManagementTest extends ContextTest {
|
|||
|
||||
EventFacet eventFacet = new EventFacetImpl();
|
||||
eventFacet.setDate(Calendar.getInstance().getTime());
|
||||
ValueSchema event = new ValueSchemaImpl();
|
||||
event.setSchema(new URI("Schema"));
|
||||
event.setValue("Created");
|
||||
eventFacet.setEvent(event);
|
||||
eventFacet.setEvent("Created");
|
||||
eService.addFacet(eventFacet);
|
||||
|
||||
StateFacet stateFacet = new StateFacetImpl();
|
||||
|
@ -216,10 +213,7 @@ public class ERManagementTest extends ContextTest {
|
|||
|
||||
EventFacet hnEventFacet = new EventFacetImpl();
|
||||
hnEventFacet.setDate(Calendar.getInstance().getTime());
|
||||
ValueSchema hnEvent = new ValueSchemaImpl();
|
||||
hnEvent.setSchema(new URI("Schema"));
|
||||
hnEvent.setValue("Created");
|
||||
hnEventFacet.setEvent(hnEvent);
|
||||
hnEventFacet.setEvent("Created");
|
||||
hostingNode.addFacet(hnEventFacet);
|
||||
|
||||
return hostingNode;
|
||||
|
|
|
@ -164,8 +164,7 @@ public class SmartgearResourcesTest extends ERManagementTest {
|
|||
hnEventFacet.setDate(Calendar.getInstance().getTime());
|
||||
ValueSchema hnEvent = new ValueSchemaImpl();
|
||||
hnEvent.setSchema(new URI("Schema"));
|
||||
hnEvent.setValue("Created");
|
||||
hnEventFacet.setEvent(hnEvent);
|
||||
hnEventFacet.setEvent("Created");
|
||||
hostingNode.addFacet(hnEventFacet);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue