Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sashirestela authored Jan 29, 2024
2 parents 08f0e81 + 65c2c8d commit f1822e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
schemaVersion: 2.2.2
schemaVersion: 2.2.0
metadata:
attributes:
metadata-name-field: generateName
Expand All @@ -23,4 +23,4 @@ components:
- name: m2
volume:
size: 5Gi
commands: []
commands: []
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ void shouldSaveInterfaceMetadataWhenAccomplishValidtion() {
void shouldThrownExceptionWhenTryingToGetNotPreviouslySavedInterface() {
Exception exception = assertThrows(CleverClientException.class,
() -> store.get(ITest.NotSavedService.class));
assertEquals("The interface NotSavedService has not been saved yet.", exception.getMessage());
assertEquals("The interface NotSavedService has not been saved yet.", exception.getMessage());
}

@Test
void shouldThrownExceptionWhenMethodHasNotHttpAnnotation() {
Exception exception = assertThrows(CleverClientException.class,
() -> store.save(ITest.NotAnnotatedService.class));
assertEquals("Missing HTTP annotation for the method unannotatedMethod.",
exception.getMessage());
assertEquals("Missing HTTP annotation for the method unannotatedMethod.",
exception.getMessage());
}

@Test
Expand Down

0 comments on commit f1822e9

Please sign in to comment.