mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
attempt to fix ci/merge test error
This commit is contained in:
@@ -31,7 +31,7 @@ function About({ version, isOpen, onClose }) {
|
||||
<AboutModal
|
||||
isOpen={isOpen}
|
||||
onClose={onClose}
|
||||
productName={`Ansible ${brandName.current}`}
|
||||
productName={brandName.current}
|
||||
trademark={`${copyright} ${new Date().getFullYear()} ${redHatInc}`}
|
||||
brandImageSrc="/static/media/logo-header.svg"
|
||||
brandImageAlt={t`Brand Image`}
|
||||
|
||||
@@ -17,7 +17,7 @@ describe('<About />', () => {
|
||||
const modal = wrapper.find('AboutModal');
|
||||
expect(modal).toHaveLength(1);
|
||||
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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user