Fixed failing rest tests for amqp connector
@@ -68,7 +68,7 @@ public class DataManagerTest {
@SuppressWarnings("unchecked")
ListResult<Connector> connectors = dataManager.fetchAll(Connector.class);
assertThat(connectors.getItems().stream().map(Connector::getId).map(Optional::get))
- .containsExactlyInAnyOrder("gmail", "activemq", "github", "ftp", "facebook", "linkedin", "sql", "salesforce", "jms", "timer", "twitter", "day-trade", "servicenow", "aws-s3", "http", "trade-insight");
+ .containsExactlyInAnyOrder("gmail", "activemq", "amqp", "github", "ftp", "facebook", "linkedin", "sql", "salesforce", "jms", "timer", "twitter", "day-trade", "servicenow", "aws-s3", "http", "trade-insight");
Assert.assertTrue(connectors.getTotalCount() > 1);
Assert.assertTrue(connectors.getItems().size() > 1);
Assert.assertEquals(connectors.getTotalCount(), connectors.getItems().size());
@@ -98,7 +98,7 @@ public class DataManagerTest {
);
assertThat(connectors.getItems().stream().map(Connector::getId).map(Optional::get)).containsExactlyInAnyOrder("gmail", "activemq");
- Assert.assertEquals(16, connectors.getTotalCount());
+ Assert.assertEquals(17, connectors.getTotalCount());
Assert.assertEquals(2, connectors.getItems().size());
}
