Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Jun 24, 2021
1 parent cc16704 commit 7305431
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/core-data/src/test/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,18 @@ describe( 'getEntityRecords', () => {
page: { slug: 'page', id: 2 },
};
const ENTITIES = [
{ name: 'postType', kind: 'root', baseURL: '/wp/v2/types' },
{ name: 'postType', kind: 'root', baseURL: '/wp/v2/types' },
{
name: 'postType',
kind: 'root',
baseURL: '/wp/v2/types',
baseURLParams: { context: 'edit' },
},
{
name: 'postType',
kind: 'root',
baseURL: '/wp/v2/types',
baseURLParams: { context: 'edit' },
},
];

it( 'yields with requested post type', async () => {
Expand Down

0 comments on commit 7305431

Please sign in to comment.