Skip to content

Commit

Permalink
Made api test less twitchy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben committed Nov 6, 2024
1 parent 5806d3c commit c054889
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ describe('Import a registration', () => {
);

expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);
expect(response.body).toMatchSnapshot();
expect(response.body.error).toContain(
registrationWesteros1Copy.programFinancialServiceProviderConfigurationName,
);

const result = await searchRegistrationByReferenceId(
registrationWesteros1Copy.referenceId,
Expand Down

0 comments on commit c054889

Please sign in to comment.