Skip to content

Commit

Permalink
Update SchemaValidation.test.ts
Browse files Browse the repository at this point in the history
Delete inserted resource
  • Loading branch information
jleiva-gap committed Oct 27, 2023
1 parent 237d2db commit 7773ae7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Meadowlark-js/tests/e2e/scenarios/SchemaValidation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,12 @@ describe('When performing crud operations with extraneous elements with allow ov
});
});

afterAll(async () => {
await rootURLRequest()
.delete(resourceLocation)
.auth(await getAccessToken('host'), { type: 'bearer' });
});

it('returns 400', () => {
expect(resourceResponse.statusCode).toBe(400);
});
Expand Down

0 comments on commit 7773ae7

Please sign in to comment.