Skip to content

Commit

Permalink
fixed functional tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
neeta-hmcts committed May 15, 2024
1 parent b09a3fa commit ac71121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import java.math.BigDecimal;

import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

Expand All @@ -24,6 +25,7 @@ public class UploadHearingDocumentsClaimantScenarioTest extends DashboardBaseInt
void shouldCreateUploadDocumentCaseProgresionScenario() throws Exception {

String caseId = "12345188432991";
when(featureToggleService.isCaseProgressionEnabled()).thenReturn(true);

CaseData caseData = CaseDataBuilder.builder().atStateRespondentFullAdmissionSpec().build()
.toBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import java.math.BigDecimal;

import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

Expand All @@ -25,6 +26,7 @@ void shouldCreateUploadDocumentCaseProgresionScenario() throws Exception {

String caseId = "1234518843299";

when(featureToggleService.isCaseProgressionEnabled()).thenReturn(true);
CaseData caseData = CaseDataBuilder.builder().atStateRespondentFullAdmissionSpec().build()
.toBuilder()
.legacyCaseReference("reference")
Expand Down

0 comments on commit ac71121

Please sign in to comment.