diff --git a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-asset.test.ts b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-asset.test.ts index 7809d8b5e0..07440dd01d 100644 --- a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-asset.test.ts +++ b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-asset.test.ts @@ -23,7 +23,10 @@ describe('ManageContentful assets', () => { test('TEST: createAsset and removeAsset', async () => { const context = ctxt({ locale: ENGLISH }) - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) const sut = testManageContentful() let assetId: string const file = JSON.stringify({ a: rndStr(), b: rndStr() }) diff --git a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-entry.test.ts b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-entry.test.ts index 9c371701d5..e8551be101 100644 --- a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-entry.test.ts +++ b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful-entry.test.ts @@ -14,7 +14,10 @@ import { ctxt, testManageContentful } from './manage-contentful.helper' describe('ManageContentful entries', () => { const context = ctxt({ locale: ENGLISH }) test('TEST: createContent and deleteContent', async () => { - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) const sut = testManageContentful() const id = rndStr() const TEST_NEW_CONTENT_ID = new TopContentId(ContentType.TEXT, id) @@ -83,7 +86,10 @@ describe('ManageContentful entries', () => { test('TEST: updateFields is able to manage fields of type ButtonStyle and FollowUps', async () => { const sut = testManageContentful() - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) const NEW_CONTENT = new TopContentId(ContentType.TEXT, rndStr()) const FOLLOW_UP_CONTENT = new TopContentId(ContentType.TEXT, rndStr()) const name = rndStr() diff --git a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful.test.ts b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful.test.ts index 36da44a4bb..b44664ddec 100644 --- a/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful.test.ts +++ b/packages/botonic-plugin-contentful/tests/contentful/manage/manage-contentful.test.ts @@ -18,7 +18,10 @@ describe('ManageContentful fields', () => { '627QkyJrFo3grJryj0vu6L' //TEST_MANAGE_CMS ) const RESTORE_TEXT_VALUE = undefined // so that it fallbacks to English - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) // @ts-ignore let fallbackLocaleContent: cms.Text = undefined @@ -58,7 +61,10 @@ describe('ManageContentful fields', () => { newValue: string | undefined, expectedValue: string ) { - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) const oldTextValue = ( await contentful.text( TEST_CONTENT_ID.id, @@ -152,7 +158,10 @@ describe('ManageContentful fields', () => { test( 'TEST: copyField buttons', async () => { - const contentful = testContentful({ disableCache: true }) + const contentful = testContentful({ + disableCache: true, + disableFallbackCache: true, + }) const oldContent = await contentful.text(TEST_CONTENT_ID.id) const sut = testManageContentful() const FROM_LOCALE = ENGLISH