Release 4.3.0 (#3503)

* Release 4.3.0

* Correct typing for unit test
This commit is contained in:
MichalKinas
2023-10-31 15:05:18 +01:00
committed by GitHub
parent 1b3195d3ba
commit b23bd3e25b
11 changed files with 308 additions and 66 deletions

View File

@@ -5,10 +5,10 @@
"peerDependencies": {
"@angular/common": ">=14.1.0",
"@angular/core": ">=14.1.0",
"@alfresco/adf-core": ">=6.4.0-6638624919",
"@alfresco/adf-content-services": ">=6.4.0-6638624919",
"@alfresco/adf-extensions": ">=6.4.0-6638624919",
"@alfresco/js-api": ">=7.1.0-1437",
"@alfresco/adf-core": ">=6.4.0",
"@alfresco/adf-content-services": ">=6.4.0",
"@alfresco/adf-extensions": ">=6.4.0",
"@alfresco/js-api": ">=7.1.0",
"@angular/animations": ">=14.1.3",
"@angular/cdk": ">=14.1.3",
"@angular/forms": ">=14.1.3",

View File

@@ -1532,7 +1532,8 @@ describe('ContentManagementService', () => {
fakeFile = new FileModel({ name: 'file1.png', size: 10 } as File, null, 'file1');
spyOn(contentApi, 'getNodeVersions').and.returnValue(of(fakeVersion));
spyOnDispatch = spyOn(store, 'dispatch');
spyOnOpenUploadNewVersionDialog = spyOn(newVersionUploaderService, 'openUploadNewVersionDialog').and.returnValue(of({ action: 'test' }));
const viewVersionData: ViewVersion = { action: NewVersionUploaderDataAction.view, versionId: '1.0' };
spyOnOpenUploadNewVersionDialog = spyOn(newVersionUploaderService, 'openUploadNewVersionDialog').and.returnValue(of(viewVersionData));
});
it('should open dialog with NewVersionUploaderService', () => {
@@ -1584,7 +1585,8 @@ describe('ContentManagementService', () => {
beforeEach(() => {
fakeNodeIsFile = { entry: { id: '1', name: 'name1', isFile: true } };
fakeNodeIsNotFile = { entry: { id: '2', name: 'name1', isFile: false } };
spyOnOpenUploadNewVersionDialog = spyOn(newVersionUploaderService, 'openUploadNewVersionDialog').and.returnValue(of({ action: 'test' }));
const viewVersionData: ViewVersion = { action: NewVersionUploaderDataAction.view, versionId: '1.0' };
spyOnOpenUploadNewVersionDialog = spyOn(newVersionUploaderService, 'openUploadNewVersionDialog').and.returnValue(of(viewVersionData));
spyOnDispatch = spyOn(store, 'dispatch');
});