Skip to content

Commit

Permalink
correct path in test
Browse files Browse the repository at this point in the history
  • Loading branch information
HatiDev committed Dec 17, 2024
1 parent bbfd780 commit 792255c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import cyTranslationText from "../../../../../locales/cy/translations.json";
import app from "../app";
import {
GENERAL_PARTNER_CHOICE_URL,
LIMITED_PARTNER_CHOICE_URL,
LIMITED_PARTNERS_URL,
} from "../../../controller/registration/Routing";
import RegistrationPageType from "../../../../presentation/controller/registration/PageType";

Expand Down Expand Up @@ -43,7 +43,7 @@ describe("General Partner Choice Page", () => {
parameter: selectedType,
});

const redirectUrl = `${LIMITED_PARTNER_CHOICE_URL}?${RegistrationPageType.generalPartnerChoice}=${selectedType}`;
const redirectUrl = `${LIMITED_PARTNERS_URL}?${RegistrationPageType.generalPartnerChoice}=${selectedType}`;
expect(res.status).toBe(302);
expect(res.text).toContain(redirectUrl);
});
Expand Down

0 comments on commit 792255c

Please sign in to comment.