test: removed the old flag code

This commit is contained in:
Raza Dar
2023-06-20 17:33:14 +05:00
parent 6ebc94506b
commit a358a6014f
3 changed files with 2 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ export const CollapseMenuBody = ({ isOpen }) => {
variant="inverse-primary"
href={getConfig().ORDER_HISTORY_URL}
>
{ formatMessage(messages.ordersAndSubscriptions) }
{formatMessage(messages.ordersAndSubscriptions)}
</Button>
)}
<Button

View File

@@ -55,7 +55,7 @@ export const AuthenticatedUserDropdown = () => {
</Dropdown.Item>
{getConfig().ORDER_HISTORY_URL && (
<Dropdown.Item href={getConfig().ORDER_HISTORY_URL}>
{ formatMessage(messages.ordersAndSubscriptions) }
{formatMessage(messages.ordersAndSubscriptions)}
</Dropdown.Item>
)}
<Dropdown.Divider />

View File

@@ -46,7 +46,6 @@ const config = {
SUPPORT_URL: 'http://localhost:18000/support',
CAREER_LINK_URL: 'http://localhost:18000/career',
LMS_BASE_URL: 'http:/localhost:18000',
SUBSCRIPTIONS_ORDERS_MENU_ITEM_ENABLED: 'false',
};
getConfig.mockReturnValue(config);