mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
attempt to fix ci/merge test error
This commit is contained in:
@@ -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`}
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user