Skip to content

Commit ac736d8

Browse files
committed
IDVA5-2197 Register an ACSP - Allow Previously Closed/ Ceased ACSPs to Access Registration Service --corrected the tests
1 parent 07de4fd commit ac736d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/services/transaction/service.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ describe("transaction", () => {
160160
status: "closed",
161161
filings: {
162162
testFiling: {
163-
status: "",
164-
companyNumber: "",
165-
type: ""
163+
status: "accepted",
164+
companyNumber: "AP000042",
165+
type: "accsp"
166166
} as Filing
167167
}
168168
}
@@ -184,5 +184,6 @@ describe("transaction", () => {
184184
const castedData: Resource<TransactionList> = data as Resource<TransactionList>;
185185
expect(castedData.resource?.items[0].id).to.equal(transactionList.items[0].id);
186186
expect(castedData.resource?.items[0].status).to.equal(transactionList.items[0].status);
187+
expect(castedData.resource?.items[0].filings).to.equal(transactionList.items[0].filings);
187188
});
188189
});

0 commit comments

Comments
 (0)