From 2b9836d721a4c16ddb0fab8bbf5cb5bbba44350a Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 14 Mar 2019 15:22:46 +0800 Subject: Fix the csarvalidation build failure on windows Issue-ID: VNFSDK-352 Change-Id: I1d9f8d297036256b4b8a756c4a1a8ace4b3d2e3c Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'csarvalidation/src') diff --git a/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java b/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java index a925674..96a66c3 100644 --- a/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java +++ b/csarvalidation/src/test/java/org/onap/cvc/csar/PnfManifestParserTest.java @@ -34,9 +34,7 @@ public class PnfManifestParserTest { @Before public void setUp() throws URISyntaxException, IOException { - String fileName = PnfManifestParserTest.class.getClassLoader().getResource("pnf/MainServiceTemplate.mf") - .toURI().getPath(); - pnfManifestParser = PnfManifestParser.getInstance(fileName); + pnfManifestParser = PnfManifestParser.getInstance("./src/test/resources/pnf/MainServiceTemplate.mf"); } @Test -- cgit 1.2.3-korg