remove dependency to testNG 99/88899/1
authorgrabinsk <maciej.grabinski@nokia.com>
Thu, 30 May 2019 13:04:10 +0000 (15:04 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Thu, 30 May 2019 14:07:57 +0000 (16:07 +0200)
(SpringExtension does the job of AbstractTestNGSpringContextTests)

Change-Id: Iafea26232a659b5e1ef6bb4e152a35ca795f9326
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
pom.xml
prh-app-server/pom.xml
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/integration/ScheduledXmlContextITest.java

diff --git a/pom.xml b/pom.xml
index f320360..ac1241e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <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>
index 5fee924..9ab0949 100644 (file)
       <artifactId>mockito-core</artifactId>
       <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>
index b5f55d0..03a3b51 100644 (file)
@@ -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;