diff --git a/projects/aca-content/src/lib/services/content-management.service.spec.ts b/projects/aca-content/src/lib/services/content-management.service.spec.ts index b8f06d0bf6..e585dc95c9 100644 --- a/projects/aca-content/src/lib/services/content-management.service.spec.ts +++ b/projects/aca-content/src/lib/services/content-management.service.spec.ts @@ -1571,7 +1571,8 @@ describe('ContentManagementService', () => { const fakeError = 'Upload error'; spyOnOpenUploadNewVersionDialog.and.returnValue(throwError(fakeError)); contentManagementService.versionUpdateDialog(fakeNode, fakeFile); - expect(spyOnDispatch).toHaveBeenCalledOnceWith(new SnackbarErrorAction(fakeError)); + + expect(showErrorSpy).toHaveBeenCalledOnceWith(fakeError); }); });