fixed tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146683 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c04b466b80
commit
51b4eb5ada
|
@ -225,7 +225,7 @@ public class ERManagementTest extends ScopedTest {
|
|||
|
||||
isIdentifiedBy = new IsIdentifiedByImpl<Resource, Facet>(hostingNode,
|
||||
networkingFacet, null);
|
||||
hostingNode.attachFacet(isIdentifiedBy);
|
||||
hostingNode.addFacet(isIdentifiedBy);
|
||||
|
||||
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
|
||||
propagationConstraint.setRemoveConstraint(RemoveConstraint.cascade);
|
||||
|
|
|
@ -125,7 +125,7 @@ public class EntityManagementTest extends ScopedTest {
|
|||
hostingNode.addFacet(cpuFacet);
|
||||
|
||||
IsIdentifiedBy<HostingNode, NetworkingFacet> isIdentifiedByHNNF = new IsIdentifiedByImpl<>(hostingNode, createdNetworkingFacet, null);
|
||||
hostingNode.attachFacet(isIdentifiedByHNNF);
|
||||
hostingNode.addFacet(isIdentifiedByHNNF);
|
||||
|
||||
Hosts<HostingNode, EService> hosts = new HostsImpl<HostingNode, EService>(hostingNode, createdEService, null);
|
||||
|
||||
|
|
Loading…
Reference in New Issue