From 51b4eb5ada570e04ff5de06de34a57a5351be639 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 7 Apr 2017 12:00:02 +0000 Subject: [PATCH] fixed tests git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-publisher@146683 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resourceregistry/publisher/ERManagementTest.java | 2 +- .../resourceregistry/publisher/EntityManagementTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ERManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ERManagementTest.java index c8affd6..64a9c4b 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ERManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/ERManagementTest.java @@ -225,7 +225,7 @@ public class ERManagementTest extends ScopedTest { isIdentifiedBy = new IsIdentifiedByImpl(hostingNode, networkingFacet, null); - hostingNode.attachFacet(isIdentifiedBy); + hostingNode.addFacet(isIdentifiedBy); PropagationConstraint propagationConstraint = new PropagationConstraintImpl(); propagationConstraint.setRemoveConstraint(RemoveConstraint.cascade); diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/EntityManagementTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/EntityManagementTest.java index d56f122..703db64 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/EntityManagementTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/publisher/EntityManagementTest.java @@ -125,7 +125,7 @@ public class EntityManagementTest extends ScopedTest { hostingNode.addFacet(cpuFacet); IsIdentifiedBy isIdentifiedByHNNF = new IsIdentifiedByImpl<>(hostingNode, createdNetworkingFacet, null); - hostingNode.attachFacet(isIdentifiedByHNNF); + hostingNode.addFacet(isIdentifiedByHNNF); Hosts hosts = new HostsImpl(hostingNode, createdEService, null);