diff --git a/src/react/ui-elements/Veeam/VeeamConfiguration.test.tsx b/src/react/ui-elements/Veeam/VeeamConfiguration.test.tsx index bcc7767fc..97890be08 100644 --- a/src/react/ui-elements/Veeam/VeeamConfiguration.test.tsx +++ b/src/react/ui-elements/Veeam/VeeamConfiguration.test.tsx @@ -21,9 +21,7 @@ jest.mock('../../next-architecture/domain/business/accounts', () => ({ const mockUseStepper = useStepper as jest.Mock; const mockUseAccountsLocationsAndEndpoints = - useAccountsLocationsAndEndpoints as jest.MockedFunction< - typeof useAccountsLocationsAndEndpoints - >; + useAccountsLocationsAndEndpoints as jest.Mock; describe('Veeam Configuration UI', () => { const selectors = { accountNameInput: () => screen.getByLabelText(/account/i), @@ -40,7 +38,6 @@ describe('Veeam Configuration UI', () => { }; const mockUseAccountsImplementation = () => { - //@ts-ignore mockUseAccountsLocationsAndEndpoints.mockImplementation(() => { return { accountsLocationsAndEndpoints: { @@ -174,7 +171,6 @@ describe('Veeam Configuration UI', () => { it('should prefilled with Veeam account is there is no account', async () => { //S - //@ts-ignore mockUseAccountsLocationsAndEndpoints.mockImplementation(() => { return { accountsLocationsAndEndpoints: { diff --git a/src/react/ui-elements/Veeam/VeeamConfiguration.tsx b/src/react/ui-elements/Veeam/VeeamConfiguration.tsx index f6f8f9499..17062e03d 100644 --- a/src/react/ui-elements/Veeam/VeeamConfiguration.tsx +++ b/src/react/ui-elements/Veeam/VeeamConfiguration.tsx @@ -171,7 +171,7 @@ const Configuration = () => { status === 'success' && accounts.some((account) => account.name === accountName) ); - }, [accountName, status]); + }, [accountName, status, accounts]); const onSubmit = ({ capacity, diff --git a/src/react/ui-elements/Veeam/VeeamSummary.tsx b/src/react/ui-elements/Veeam/VeeamSummary.tsx index 93541f465..a8f516d1a 100644 --- a/src/react/ui-elements/Veeam/VeeamSummary.tsx +++ b/src/react/ui-elements/Veeam/VeeamSummary.tsx @@ -88,7 +88,7 @@ export const VeeamSummary = ({ Your ARTESCA is now configured and ready to integrate with Veeam.
The next steps involve managing Certificates and entering specific - PRODUCT details within the Veeam application + ARTESCA details within the Veeam application
{isPlatformAdmin ? (