diff --git a/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery-expandable-definition-content.spec.js b/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery-expandable-definition-content.spec.js index 22d6492cd7..c7f265ccfa 100644 --- a/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery-expandable-definition-content.spec.js +++ b/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery-expandable-definition-content.spec.js @@ -16,7 +16,7 @@ const { const { expandable } = antiBriberyPage; -const { INTRO, TABLE } = CONTENT_STRINGS.VERSIONS[0].EXPANDABLE; +const { INTRO, TABLE } = CONTENT_STRINGS.EXPANDABLE; const baseUrl = Cypress.config('baseUrl'); diff --git a/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery.spec.js b/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery.spec.js index f35ad7a24c..695680b802 100644 --- a/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery.spec.js +++ b/e2e-tests/insurance/cypress/e2e/journeys/declarations/anti-bribery/anti-bribery.spec.js @@ -124,7 +124,7 @@ context( const { expandable } = antiBriberyPage; it('should render summary text with collapsed conditional `details` content', () => { - cy.checkText(expandable.summary(), CONTENT_STRINGS.VERSIONS[0].EXPANDABLE.INTRO); + cy.checkText(expandable.summary(), CONTENT_STRINGS.EXPANDABLE.INTRO); expandable.details().should('not.have.attr', 'open'); }); diff --git a/src/ui/templates/insurance/declarations/anti-bribery.njk b/src/ui/templates/insurance/declarations/anti-bribery.njk index e7eb92564c..2d904082f2 100644 --- a/src/ui/templates/insurance/declarations/anti-bribery.njk +++ b/src/ui/templates/insurance/declarations/anti-bribery.njk @@ -45,7 +45,7 @@ {{ expandableContent.render({ - CONTENT: CONTENT_STRINGS.VERSIONS[0].EXPANDABLE + CONTENT: CONTENT_STRINGS.EXPANDABLE }) }}