Changing Intent Ids to use explicit id assignment
Change-Id: I5a4bff87842c37a869e7691b353529eaefc929db
diff --git a/core/net/src/test/java/org/onlab/onos/net/intent/impl/IntentManagerTest.java b/core/net/src/test/java/org/onlab/onos/net/intent/impl/IntentManagerTest.java
index b3ebe70..dc7383b 100644
--- a/core/net/src/test/java/org/onlab/onos/net/intent/impl/IntentManagerTest.java
+++ b/core/net/src/test/java/org/onlab/onos/net/intent/impl/IntentManagerTest.java
@@ -13,6 +13,7 @@
import org.junit.Test;
import org.onlab.onos.TestApplicationId;
import org.onlab.onos.core.ApplicationId;
+import org.onlab.onos.core.impl.TestCoreManager;
import org.onlab.onos.event.impl.TestEventDispatcher;
import org.onlab.onos.net.NetworkResource;
import org.onlab.onos.net.flow.FlowRule;
@@ -82,6 +83,7 @@
manager.eventDispatcher = new TestEventDispatcher();
manager.trackerService = new TestIntentTracker();
manager.flowRuleService = flowRuleService;
+ manager.coreService = new TestCoreManager();
service = manager;
extensionService = manager;
@@ -262,7 +264,7 @@
private final Long number;
// Nothing new here
public MockIntent(Long number) {
- super(id(MockIntent.class, number), APPID, null);
+ super(APPID, null);
this.number = number;
}