Skip to content

Commit 457f079

Browse files
committed
IDVA5-2197 Register an ACSP - Allow Previously Closed/ Ceased ACSPs to Access Registration Service -mapping the filing details to camel case from snake case
1 parent 06a7a1f commit 457f079

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/services/transaction/service.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ describe("transaction", () => {
196196
expect(item?.resumeJourneyUri).to.equal("/resume/txn1");
197197
expect(item?.filings).to.have.property("testFiling");
198198
expect(item?.filings).to.have.property("anotherFiling");
199-
expect(item?.filings["testFiling"]).to.deep.equal({
199+
expect(item?.filings.testFiling).to.deep.equal({
200200
status: "accepted",
201201
companyNumber: "AP000042",
202202
type: "acsp"
203203
});
204-
expect(item?.filings["anotherFiling"]).to.deep.equal({
204+
expect(item?.filings.anotherFiling).to.deep.equal({
205205
status: "pending",
206206
companyNumber: "AP000043",
207207
type: "bcsp"
@@ -222,5 +222,4 @@ describe("transaction", () => {
222222
const castedData: ApiErrorResponse = data as ApiErrorResponse;
223223
expect(castedData.errors[0]).to.equal("Internal Server Error");
224224
});
225-
226225
});

0 commit comments

Comments
 (0)