Use ToStringTester from utils-test 29/90529/1
authorramverma <ram.krishna.verma@est.tech>
Wed, 26 Jun 2019 15:00:39 +0000 (15:00 +0000)
committerramverma <ram.krishna.verma@est.tech>
Wed, 26 Jun 2019 15:00:39 +0000 (15:00 +0000)
Changing ToStringTester from utils to utils-test.
Correcting the policy/common & policy/models version.

Change-Id: I33a590367732ff315a9b03aca917e4be5f1ae05e
Issue-ID: POLICY-1746
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
main/pom.xml
main/src/test/java/org/onap/policy/api/main/rest/TestStatisticsReport.java
pom.xml

index 932438a..e9222ea 100644 (file)
             <artifactId>assertj-core</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.onap.policy.common</groupId>
+            <artifactId>utils-test</artifactId>
+            <version>${policy.common.version}</version>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
index e240f68..e65a8c8 100644 (file)
@@ -30,8 +30,7 @@ import com.openpojo.validation.test.impl.GetterTester;
 import com.openpojo.validation.test.impl.SetterTester;
 
 import org.junit.Test;
-import org.onap.policy.api.main.rest.StatisticsReport;
-import org.onap.policy.common.utils.validation.ToStringTester;
+import org.onap.policy.common.utils.test.ToStringTester;
 
 /**
  * Class to perform unit testing of {@link StatisticsReport}.
diff --git a/pom.xml b/pom.xml
index c469d19..a128dd6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,7 @@
         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
 
         <policy.common.version>1.5.1-SNAPSHOT</policy.common.version>
-        <policy.models.version>2.1.0</policy.models.version>
+        <policy.models.version>2.1.1-SNAPSHOT</policy.models.version>
     </properties>
 
     <modules>