Skip to content

Commit

Permalink
Added getKameletScheme tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Oct 21, 2022
1 parent 2172505 commit 0b5c275
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,4 +373,10 @@ void testSupportedHeaders() throws Exception {
List<ComponentModel.EndpointHeaderModel> headersWttrinSource= catalog.getKameletSupportedHeaders("wttrin-source");
assertEquals(5, headersWttrinSource.size());
}

@Test
void testGetKameletScheme() throws Exception {
assertEquals("aws2-s3", catalog.getKameletScheme("aws-s3"));
assertEquals("aws2-sqs", catalog.getKameletScheme("aws-sqs"));
}
}

0 comments on commit 0b5c275

Please sign in to comment.