forked from hmcts/rse-cft-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex McAusland
committed
Nov 8, 2024
1 parent
a135ea4
commit 1d3ce9f
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,9 @@ public void caseCreation() throws Exception { | |
// Check we can load the case | ||
var c = ccdApi.getCase(getAuthorisation("[email protected]"), getServiceAuth(), String.valueOf(caseRef)); | ||
assertThat(c.getState(), equalTo("Holding")); | ||
var caseData = mapper.readValue(mapper.writeValueAsString(c.getData()), CaseData.class); | ||
assertThat(caseData.getApplicant1().getFirstName(), equalTo("app1_first_name")); | ||
assertThat(caseData.getApplicant2().getFirstName(), equalTo("app2_first_name")); | ||
} | ||
|
||
private long caseRef; | ||
|