diff --git a/src/containers/LearnerDashboardHeader/BrandLogo.jsx b/src/containers/LearnerDashboardHeader/BrandLogo.jsx index d9a79afe..72d8e1ee 100644 --- a/src/containers/LearnerDashboardHeader/BrandLogo.jsx +++ b/src/containers/LearnerDashboardHeader/BrandLogo.jsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { useIntl } from '@edx/frontend-platform/i18n'; import { reduxHooks } from 'hooks'; @@ -12,7 +10,7 @@ export const BrandLogo = () => { const dashboard = reduxHooks.useEnterpriseDashboardData(); return ( - + ({ @@ -23,6 +24,6 @@ describe('BrandLogo', () => { reduxHooks.useEnterpriseDashboardData.mockReturnValueOnce(null); const wrapper = shallow(); expect(wrapper.snapshot).toMatchSnapshot(); - expect(wrapper.instance.findByType('a')[0].props.href).toEqual('/'); + expect(wrapper.instance.findByType('a')[0].props.href).toEqual(getConfig().LMS_BASE_URL); }); }); diff --git a/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap b/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap index f069b0a0..6fe98c38 100644 --- a/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap +++ b/src/containers/LearnerDashboardHeader/__snapshots__/BrandLogo.test.jsx.snap @@ -16,7 +16,7 @@ exports[`BrandLogo dashboard defined 1`] = ` exports[`BrandLogo dashboard undefined 1`] = `