Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor Prov DB handling
[dmaap/datarouter.git]
/
datarouter-prov
/
src
/
test
/
java
/
org
/
onap
/
dmaap
/
datarouter
/
provisioning
/
beans
/
SubscriptionTest.java
diff --git
a/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/beans/SubscriptionTest.java
b/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/beans/SubscriptionTest.java
index
214cc6e
..
7f049e5
100644
(file)
--- a/
datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/beans/SubscriptionTest.java
+++ b/
datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/beans/SubscriptionTest.java
@@
-32,7
+32,6
@@
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.onap.dmaap.datarouter.provisioning.utils.DB;
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
@@
-42,7
+41,6
@@
public class SubscriptionTest {
private static EntityManagerFactory emf;
private static EntityManager em;
private static EntityManagerFactory emf;
private static EntityManager em;
- private DB db;
@BeforeClass
public static void init() {
@BeforeClass
public static void init() {
@@
-61,7
+59,6
@@
public class SubscriptionTest {
}
@Before
public void setUp() throws Exception {
}
@Before
public void setUp() throws Exception {
- db = new DB();
subscription = new Subscription();
}
subscription = new Subscription();
}