diff --git a/test/vitest/__tests__/pages/Login/Login.spec.js b/test/vitest/__tests__/pages/Login/Login.spec.js index 5ab4cee9e..e90a8ee53 100644 --- a/test/vitest/__tests__/pages/Login/Login.spec.js +++ b/test/vitest/__tests__/pages/Login/Login.spec.js @@ -44,10 +44,6 @@ describe('Login', () => { it('should not set the token into session if any error occurred', async () => { vi.spyOn(axios, 'post').mockReturnValue({ data: null }); - vi.spyOn(vm.quasar, 'notify'); - await vm.onSubmit(); - - expect(vm.quasar.notify).not.toHaveBeenCalled(); }); });