Skip to content

Commit

Permalink
Use correct ACTIVE_CONTENT_LOCALE name in wagtailConfig stubs
Browse files Browse the repository at this point in the history
Fix up from wagtail#11166
  • Loading branch information
lb- committed Oct 3, 2024
1 parent d80193f commit 39e188d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/config/wagtailConfig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}),
);
Expand Down
2 changes: 1 addition & 1 deletion client/tests/stubs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const wagtailConfig = {
display_name: 'French',
},
],
ACTIVE_LOCALE: 'en',
ACTIVE_CONTENT_LOCALE: 'en',
};

const configScript = Object.assign(document.createElement('script'), {
Expand Down

0 comments on commit 39e188d

Please sign in to comment.