From c661f9a52c6a09c64eb3653edade5ada9ff90b0a Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 15 Nov 2019 14:43:48 +0100 Subject: [PATCH] Refactoring tests --- .../java/org/gcube/accounting/aggregator/HarmonizerTest.java | 2 +- src/test/resources/{newRules.json => rule.json} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/test/resources/{newRules.json => rule.json} (100%) diff --git a/src/test/java/org/gcube/accounting/aggregator/HarmonizerTest.java b/src/test/java/org/gcube/accounting/aggregator/HarmonizerTest.java index bc1ef39..9d638ed 100644 --- a/src/test/java/org/gcube/accounting/aggregator/HarmonizerTest.java +++ b/src/test/java/org/gcube/accounting/aggregator/HarmonizerTest.java @@ -27,7 +27,7 @@ public class HarmonizerTest extends ContextTest { @Test public void testUnMarshallingMatcherReplace() throws Exception { - InputStream inputStream = HarmonizerTest.class.getClassLoader().getResourceAsStream("newRules.json"); + InputStream inputStream = HarmonizerTest.class.getClassLoader().getResourceAsStream("rule.json"); ObjectMapper mapper = DSMapper.getObjectMapper(); MatcherReplace matcherReplace = mapper.readValue(inputStream, MatcherReplace.class); logger.debug("{}", matcherReplace); diff --git a/src/test/resources/newRules.json b/src/test/resources/rule.json similarity index 100% rename from src/test/resources/newRules.json rename to src/test/resources/rule.json