diff --git a/assets/js/common/SuseManagerSettingsDialog/SuseManagerSettingsModal.test.jsx b/assets/js/common/SuseManagerSettingsDialog/SuseManagerSettingsModal.test.jsx index bbe22a0c02..aeed0cb713 100644 --- a/assets/js/common/SuseManagerSettingsDialog/SuseManagerSettingsModal.test.jsx +++ b/assets/js/common/SuseManagerSettingsDialog/SuseManagerSettingsModal.test.jsx @@ -130,8 +130,6 @@ describe('SuseManagerSettingsModal component', () => { }); it('should display errors', async () => { - const onSave = jest.fn(); - const detail = capitalize(faker.lorem.words(5)); const errors = [ @@ -154,7 +152,7 @@ describe('SuseManagerSettingsModal component', () => { initialUrl={faker.internet.url()} errors={errors} open - onSave={onSave} + onSave={() => {}} onCancel={() => {}} /> );