Skip to content

Commit

Permalink
GRAD2-2822: School Report Regeneration Process - Backend Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-mohammed committed Sep 9, 2024
1 parent a0efef6 commit f52f6bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,8 @@ public void whenCreateAndStoreSchoolReports_WithParams_ThenReturnResult() {
when(this.responseMock.bodyToMono(Integer.class)).thenReturn(Mono.just(0));
when(LOGGER.isDebugEnabled()).thenReturn(true);

mockTokenResponseObject();

var result = this.restUtils.createAndStoreSchoolReports(Arrays.asList("12345"), type, new DistributionSummaryDTO());
assertNotNull(type);
assertNotNull(result);
Expand All @@ -922,7 +924,6 @@ public void whenCreateAndStoreSchoolReports_WithParams_ThenReturnResult() {
public void whenCreateAndStoreSchoolReports_WithParams_ThenThrowException() {
final String type = "TVRRUN";
when(this.webClient.post()).thenThrow(Exception.class);

var result = this.restUtils.createAndStoreSchoolReports(Arrays.asList("12345"), type, new DistributionSummaryDTO());
}

Expand Down

0 comments on commit f52f6bd

Please sign in to comment.