Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teunmooij committed Jun 25, 2023
1 parent 8e99971 commit 28689da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/openapi/test/basic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe('basic tests', () => {
process.env.PAYLOAD_CONFIG_PATH = path.join(__dirname, 'basic.config.ts');
const config = await loadConfig();
apiDocs = await createDocument(config);
apiDocs.info.version = '1.1.3';
});

it('creates a valid openapi document', async () => {
Expand Down
1 change: 1 addition & 0 deletions packages/openapi/test/named-interfaces.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe('basic tests', () => {
process.env.PAYLOAD_CONFIG_PATH = path.join(__dirname, 'named-interfaces.config.ts');
const config = await loadConfig();
apiDocs = await createDocument(config);
apiDocs.info.version = '1.1.3';
});

it('creates a valid openapi document', async () => {
Expand Down

0 comments on commit 28689da

Please sign in to comment.