summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/aai/validation/services/TestInfoService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/aai/validation/services/TestInfoService.java')
-rw-r--r--src/test/java/org/onap/aai/validation/services/TestInfoService.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/test/java/org/onap/aai/validation/services/TestInfoService.java b/src/test/java/org/onap/aai/validation/services/TestInfoService.java
index f99748a..c975d16 100644
--- a/src/test/java/org/onap/aai/validation/services/TestInfoService.java
+++ b/src/test/java/org/onap/aai/validation/services/TestInfoService.java
@@ -47,8 +47,8 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
-@TestPropertySource(locations = { "classpath:oxm-reader/schemaIngest.properties", "classpath:application.properties" })
-@ContextConfiguration(locations = { "classpath:/info-service/test-validation-service-beans.xml" })
+@TestPropertySource(locations = {"classpath:oxm-reader/schemaIngest.properties", "classpath:application.properties"})
+@ContextConfiguration(locations = {"classpath:/info-service/test-validation-service-beans.xml"})
public class TestInfoService {
static {
@@ -56,9 +56,7 @@ public class TestInfoService {
}
enum TestData {
- VSERVER(
- "rule-driven-validator/test_events/vserver-create-event.json"
- );
+ VSERVER("rule-driven-validator/test_events/vserver-create-event.json");
private String filename;
@@ -117,7 +115,6 @@ public class TestInfoService {
assertThat(info, containsString("errored=1"));
}
-
@Test
public void testVserverEventRecorded() throws URISyntaxException, IOException {
Path vserverTestFile = Paths.get(ClassLoader.getSystemResource(TestData.VSERVER.getFilename()).toURI());