summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrabinsk <maciej.grabinski@nokia.com>2019-05-30 15:04:10 +0200
committergrabinsk <maciej.grabinski@nokia.com>2019-05-30 16:07:57 +0200
commit0f293f5aa2c1ed3fff09c3386fdfd93ae48b4cd1 (patch)
tree660224d0902ca4bc913159bbc2844cd6ad30ac0e
parent85b1c64b4a2e6c0c01046fdd8b643cffff76ae32 (diff)
remove dependency to testNG
(SpringExtension does the job of AbstractTestNGSpringContextTests) Change-Id: Iafea26232a659b5e1ef6bb4e152a35ca795f9326 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
-rw-r--r--pom.xml7
-rw-r--r--prh-app-server/pom.xml5
-rw-r--r--prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java3
3 files changed, 1 insertions, 14 deletions
diff --git a/pom.xml b/pom.xml
index f320360b..ac1241e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -176,13 +176,6 @@
<artifactId>gson</artifactId>
<version>${immutables.version}</version>
</dependency>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>6.14.3</version>
- <scope>test</scope>
- </dependency>
</dependencies>
</dependencyManagement>
</project>
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index 5fee9240..9ab09495 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -248,11 +248,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
diff --git a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java
index b5f55d0e..03a3b51e 100644
--- a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java
+++ b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java
@@ -34,7 +34,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;
-import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
/**
* @author <a href="mailto:przemyslaw.wasala@nokia.com">Przemysław Wąsala</a> on 3/27/18
@@ -42,7 +41,7 @@ import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
@Configuration
@ExtendWith({MockitoExtension.class, SpringExtension.class})
@ContextConfiguration(locations = "classpath:scheduled-context.xml")
-class ScheduledXmlContextITest extends AbstractTestNGSpringContextTests {
+class ScheduledXmlContextITest {
private static final int WAIT_FOR_SCHEDULING = 1;