diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/openecomp/crud/dao/champ/ChampDaoTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/openecomp/crud/dao/champ/ChampDaoTest.java b/src/test/java/org/openecomp/crud/dao/champ/ChampDaoTest.java index b11e274..a895066 100644 --- a/src/test/java/org/openecomp/crud/dao/champ/ChampDaoTest.java +++ b/src/test/java/org/openecomp/crud/dao/champ/ChampDaoTest.java @@ -35,10 +35,10 @@ public class ChampDaoTest { // Create an instance of the Champ DAO, backed by the Champ library's in-memory back end // for testing purposes. - Properties champDaoProperties = new Properties(); + Map<String, Object> champDaoProperties = new HashMap<String, Object>(); champDaoProperties.put(ChampDao.CONFIG_STORAGE_BACKEND, "in-memory"); champDaoProperties.put(ChampDao.CONFIG_GRAPH_NAME, GRAPH_NAME); - champDao = new ChampDao(champDaoProperties); + champDao = new ChampDao(new InMemoryChampGraphImpl.Builder().properties(champDaoProperties).build()); } |