Skip to content

Commit

Permalink
Update Test fro PostgreSQl and pom files for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
anmunoz committed Oct 9, 2019
1 parent a796b94 commit ba4e81d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions nifi-ngsi-bundle/nifi-ngsi-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ngsi-bundle</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>

<artifactId>nifi-ngsi-nar</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
Expand All @@ -34,7 +34,7 @@
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ngsi-processors</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
2 changes: 1 addition & 1 deletion nifi-ngsi-bundle/nifi-ngsi-processors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ngsi-bundle</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</parent>

<artifactId>nifi-ngsi-processors</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ public void testValuesForInsertRowWithoutMetada() throws Exception {

try {
String valuesForInsert = backend.getValuesForInsert(attrPersistence, entity, creationTime, fiwareServicePath);
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 10:25:34','','someId','someType','someAttr','someType','someValue','[]')";
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 06:55:34','','someId','someType','someAttr','someType','someValue','[]')";

try {
assertEquals(expecetedvaluesForInsert, valuesForInsert);
Expand Down Expand Up @@ -623,7 +623,7 @@ public void testValuesForInsertColumnWithoutMetadata() throws Exception {

try {
String valuesForInsert = backend.getValuesForInsert(attrPersistence, entity, creationTime, fiwareServicePath);
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 10:25:34','','someId','someType','someValue','[]')";
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 06:55:34','','someId','someType','someValue','[]')";

try {
assertEquals(expecetedvaluesForInsert, valuesForInsert);
Expand Down Expand Up @@ -660,7 +660,7 @@ public void testValuesForInsertRowWithMetadata() throws Exception {

try {
String valuesForInsert = backend.getValuesForInsert(attrPersistence, entity, creationTime, fiwareServicePath);
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 10:25:34','','someId','someType','someAttr','someType','someValue','someMtdStr')";
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 06:55:34','','someId','someType','someAttr','someType','someValue','someMtdStr')";

try {
assertEquals(expecetedvaluesForInsert, valuesForInsert);
Expand Down Expand Up @@ -697,7 +697,7 @@ public void testValuesForInsertColumnWithMetadata() throws Exception {

try {
String valuesForInsert = backend.getValuesForInsert(attrPersistence, entity, creationTime, fiwareServicePath);
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 10:25:34','','someId','someType','someValue','someMtdStr')";
String expecetedvaluesForInsert = "('1562561734983','07/08/2019 06:55:34','','someId','someType','someValue','someMtdStr')";

try {
assertEquals(expecetedvaluesForInsert, valuesForInsert);
Expand Down
2 changes: 1 addition & 1 deletion nifi-ngsi-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ngsi-bundle</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit ba4e81d

Please sign in to comment.