diff --git a/src/main/java/io/bdrc/ldspdi/service/ServiceConfig.java b/src/main/java/io/bdrc/ldspdi/service/ServiceConfig.java index 7df72327..34ba0d09 100644 --- a/src/main/java/io/bdrc/ldspdi/service/ServiceConfig.java +++ b/src/main/java/io/bdrc/ldspdi/service/ServiceConfig.java @@ -83,8 +83,7 @@ public static void initForTests() { try { InputStream input = ServiceConfig.class.getClassLoader().getResourceAsStream("ldspdi.properties"); // load a properties file - prop.load(input); - sparqlPrefixes=new String(Files.readAllBytes(Paths.get(params.get(QueryConstants.QUERY_PATH)+"public/prefixes.txt"))); + prop.load(input); String mimes=prop.getProperty("mime"); StringTokenizer st=new StringTokenizer(mimes,","); while(st.hasMoreTokens()){