Skip to content

Commit 824981f

Browse files
SIV-478 Test coverage improvements
1 parent 9f0871e commit 824981f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/services/associations/service.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ describe("AssociationsService", () => {
256256
sinon.stub(requestClient, "httpPost").resolves({ status: 200, body: mockAssociationResource });
257257
const companyNumber = mockAssociationResource.company_number;
258258
const userId = mockAssociationResource.user_id;
259-
await associationsService.searchForCompanyAssociation(companyNumber, userId)
259+
const associationStatus = [AssociationStatus.UNAUTHORISED]
260+
await associationsService.searchForCompanyAssociation(companyNumber, undefined, userId, associationStatus)
260261
.then((data) => {
261262
expect(data.httpStatusCode).to.equal(200);
262263

0 commit comments

Comments
 (0)