summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap
diff options
context:
space:
mode:
authoremartin <ephraim.martin@est.tech>2019-04-02 11:40:04 +0000
committeremartin <ephraim.martin@est.tech>2019-04-02 11:40:04 +0000
commit39bec8163a57b4c026fc78feb12797a0d3bbdc15 (patch)
treeca1e7c08369ea3dfd5d09aed4a1a0675d919cbb6 /src/test/java/org/onap
parent36605ed860a6eb7fca09156c6e8ae6ebf5259ea3 (diff)
Handle non-xml PM files
*Non-xml files will not be mapped to VES Change-Id: Ice1b901576be4da0593f38eb2c0b4e4676b6019e Issue-ID: DCAEGEN2-1327 Signed-off-by: emartin <ephraim.martin@est.tech>
Diffstat (limited to 'src/test/java/org/onap')
-rw-r--r--src/test/java/org/onap/dcaegen2/services/pmmapper/filtering/MeasFilterHandlerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/onap/dcaegen2/services/pmmapper/filtering/MeasFilterHandlerTest.java b/src/test/java/org/onap/dcaegen2/services/pmmapper/filtering/MeasFilterHandlerTest.java
index 436984e..694b4e9 100644
--- a/src/test/java/org/onap/dcaegen2/services/pmmapper/filtering/MeasFilterHandlerTest.java
+++ b/src/test/java/org/onap/dcaegen2/services/pmmapper/filtering/MeasFilterHandlerTest.java
@@ -194,7 +194,7 @@ class MeasFilterHandlerTest {
@Test
void invalid_fileType() {
Event event = mock(Event.class);
- List<String> invalidFiletypes = Arrays.asList("Bpm.xml","Dpm.xml","asdf","bsdf");
+ List<String> invalidFiletypes = Arrays.asList("Bpm.xml","Dpm.xml","Apm.xml.gz","Apm.xm1","asdf","bsdf");
when(event.getHttpServerExchange()).thenReturn(exchange);
when(exchange.getRequestPath())
.thenReturn(invalidFiletypes.toString());