Skip to content

Commit

Permalink
Wait for delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben committed Dec 24, 2024
1 parent 59367b3 commit 9d90af9
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
awaitChangePaStatus,
deleteRegistrations,
seedPaidRegistrations,
waitForStatusChangeToComplete,
} from '@121-service/test/helpers/registration.helper';
import {
getAccessToken,
Expand Down Expand Up @@ -239,6 +240,13 @@ describe('Manage financial service provider configurations', () => {
[registrationOCW5.referenceId],
accessToken,
);
await waitForStatusChangeToComplete(
programIdVisa,
1,
RegistrationStatusEnum.deleted,
8_000,
accessToken,
);

// Act
const name = seededFspConfigVoucher.financialServiceProvider;
Expand Down

0 comments on commit 9d90af9

Please sign in to comment.