diff --git a/tests/playwright-tests/src/api/distributionService/bsSelectService.ts b/tests/playwright-tests/src/api/distributionService/bsSelectService.ts index b017ffed32..a4b463f750 100644 --- a/tests/playwright-tests/src/api/distributionService/bsSelectService.ts +++ b/tests/playwright-tests/src/api/distributionService/bsSelectService.ts @@ -47,7 +47,7 @@ export const getRecordsFromNemsSubscription = ( request: APIRequestContext, nhsNumbers: string ): Promise => { - return apiClient.get(request, `${config.endpointNemsSubscriptionDataDataService}api/${config.nemsSubscriberDataService}?nhsNumber=${nhsNumbers}`); + return apiClient.get(request, `${config.SubToNems}${config.CheckNemsSubPath}?nhsNumber=${nhsNumbers}`); }; export function extractSubscriptionID(response: ApiResponse): string | null {