Skip to content

Commit

Permalink
Kamelets Catalog: Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Feb 7, 2022
1 parent 0721e49 commit 2975bdc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ void testGetKamelets() throws Exception {
@Test
void testGetKameletsDefinition() throws Exception {
JSONSchemaProps props = catalog.getKameletDefinition("aws-sqs-source");
assertEquals(9, props.getProperties().keySet().size());
assertEquals(10, props.getProperties().keySet().size());
assertTrue(props.getProperties().keySet().contains("queueNameOrArn"));
}

@Test
void testGetKameletsRequiredProperties() throws Exception {
List<String> props = catalog.getKameletRequiredProperties("aws-sqs-source");
assertEquals(4, props.size());
assertEquals(2, props.size());
assertTrue(props.contains("queueNameOrArn"));
}

Expand Down

0 comments on commit 2975bdc

Please sign in to comment.