Skip to content

Commit 936dcac

Browse files
committed
LP-1358 Update tests
1 parent 51305db commit 936dcac

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/presentation/test/integration/postTransition/limitedPartner/add-limited-partner-legal-entity.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PartnerKind, PartnershipType } from "@companieshouse/api-sdk-node/dist/services/limited-partnerships/types";
2+
import { CompanyProfile } from "@companieshouse/api-sdk-node/dist/services/company-profile/types";
23

34
import request, { Response } from "supertest";
45

@@ -25,7 +26,7 @@ describe("Add Limited Partner Legal Entity Page", () => {
2526
const URL = getUrl(ADD_LIMITED_PARTNER_LEGAL_ENTITY_URL);
2627
const REDIRECT_URL = getUrl(TERRITORY_CHOICE_LIMITED_PARTNER_PRINCIPAL_OFFICE_ADDRESS_URL);
2728

28-
let companyProfile;
29+
let companyProfile: { Id: string; data: Partial<CompanyProfile> };
2930

3031
beforeEach(() => {
3132
setLocalesEnabled(false);

src/presentation/test/integration/postTransition/limitedPartner/add-limited-partner-person.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ describe("Add Limited Partner Person Page", () => {
3434
companyProfile = new CompanyProfileBuilder().build();
3535
appDevDependencies.companyGateway.feedCompanyProfile(companyProfile.data);
3636

37-
appDevDependencies.limitedPartnershipGateway.feedLimitedPartnerships([]);
38-
3937
appDevDependencies.limitedPartnerGateway.feedLimitedPartners([]);
4038
appDevDependencies.limitedPartnerGateway.feedErrors();
4139

0 commit comments

Comments
 (0)