Skip to content

Commit

Permalink
Unit test corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
costas80 committed Jan 25, 2024
1 parent 14d9e57 commit 0e679ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void testGetModuleDefinition() {
var result = service.getModuleDefinition(new Void());
assertNotNull(result);
assertNotNull(result.getModule());
assertEquals("service1", result.getModule().getId());
assertNotNull(result.getModule().getInputs());
assertEquals(16, result.getModule().getInputs().getParam().size());
assertWebServiceInputDocumentation(ValidationConstants.INPUT_CONTENT, result.getModule().getInputs().getParam().get(0), UsageEnumeration.O);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public UploadResult handleUploadMinimal(String domain, MultipartFile file, Strin
};
var aspect = new StatisticReportingAspect() {
@Override
public void getUploadContext(JoinPoint joinPoint) {
public void getUploadMinimalContext(JoinPoint joinPoint) {
assertEquals("domain1", joinPoint.getArgs()[0]);
aspectCalled[0] = true;
}
Expand Down

0 comments on commit 0e679ab

Please sign in to comment.