diff --git a/packages/netlify-cms-core/src/__tests__/backend.spec.js b/packages/netlify-cms-core/src/__tests__/backend.spec.js index 8b7766ec4a75..3f0a6672a0be 100644 --- a/packages/netlify-cms-core/src/__tests__/backend.spec.js +++ b/packages/netlify-cms-core/src/__tests__/backend.spec.js @@ -202,6 +202,8 @@ describe('Backend', () => { isModification: null, status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }, }); expect(localForage.getItem).toHaveBeenCalledTimes(1); @@ -243,6 +245,8 @@ describe('Backend', () => { isModification: null, status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }, }); expect(localForage.getItem).toHaveBeenCalledTimes(1); @@ -392,6 +396,8 @@ describe('Backend', () => { mediaFiles: [{ id: '1', draft: true }], status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }); }); }); diff --git a/packages/netlify-cms-core/src/actions/__tests__/entries.spec.js b/packages/netlify-cms-core/src/actions/__tests__/entries.spec.js index a80aa2e8cedc..83749dc5e984 100644 --- a/packages/netlify-cms-core/src/actions/__tests__/entries.spec.js +++ b/packages/netlify-cms-core/src/actions/__tests__/entries.spec.js @@ -60,6 +60,8 @@ describe('entries', () => { slug: '', status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }, type: 'DRAFT_CREATE_EMPTY', }); @@ -93,6 +95,8 @@ describe('entries', () => { slug: '', status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }, type: 'DRAFT_CREATE_EMPTY', }); @@ -128,6 +132,8 @@ describe('entries', () => { slug: '', status: '', updatedOn: '', + canApprove: false, + supportsApprove: false, }, type: 'DRAFT_CREATE_EMPTY', });