diff --git a/client/src/config/wagtailConfig.test.js b/client/src/config/wagtailConfig.test.js index b18878e8fb..530b534b91 100644 --- a/client/src/config/wagtailConfig.test.js +++ b/client/src/config/wagtailConfig.test.js @@ -22,7 +22,7 @@ describe('wagtailConfig', () => { it('exists', () => { expect(WAGTAIL_CONFIG).toEqual( expect.objectContaining({ - ACTIVE_LOCALE: expect.any(String), + ACTIVE_CONTENT_LOCALE: expect.any(String), LOCALES: expect.any(Array), }), ); diff --git a/client/tests/stubs.js b/client/tests/stubs.js index aa4c64e093..e0d2b31564 100644 --- a/client/tests/stubs.js +++ b/client/tests/stubs.js @@ -35,7 +35,7 @@ const wagtailConfig = { display_name: 'French', }, ], - ACTIVE_LOCALE: 'en', + ACTIVE_CONTENT_LOCALE: 'en', }; const configScript = Object.assign(document.createElement('script'), {