attempt to fix ci/merge test error

This commit is contained in:
Keith J. Grant
2021-07-14 11:53:24 -07:00
parent 09751efe95
commit a307421b82
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ function About({ version, isOpen, onClose }) {
<AboutModal <AboutModal
isOpen={isOpen} isOpen={isOpen}
onClose={onClose} onClose={onClose}
productName={`Ansible ${brandName.current}`} productName={brandName.current}
trademark={`${copyright} ${new Date().getFullYear()} ${redHatInc}`} trademark={`${copyright} ${new Date().getFullYear()} ${redHatInc}`}
brandImageSrc="/static/media/logo-header.svg" brandImageSrc="/static/media/logo-header.svg"
brandImageAlt={t`Brand Image`} brandImageAlt={t`Brand Image`}

View File

@@ -17,7 +17,7 @@ describe('<About />', () => {
const modal = wrapper.find('AboutModal'); const modal = wrapper.find('AboutModal');
expect(modal).toHaveLength(1); expect(modal).toHaveLength(1);
expect(modal.prop('onClose')).toEqual(onClose); expect(modal.prop('onClose')).toEqual(onClose);
expect(modal.prop('productName')).toEqual('Ansible AWX'); expect(modal.prop('productName')).toEqual('AWX');
expect(modal.prop('isOpen')).toEqual(true); expect(modal.prop('isOpen')).toEqual(true);
}); });
}); });