mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix typo in the resource key (#3352)
This commit is contained in:
committed by
Eugenio Romano
parent
ff5d02b5b7
commit
266ad76ad9
@@ -69,7 +69,7 @@ describe('NodeActionsService', () => {
|
||||
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
|
||||
|
||||
service.copyContent(fakeNode, 'allowed').subscribe((value) => {
|
||||
expect(value).toBe('OPERATION.SUCCES.CONTENT.COPY');
|
||||
expect(value).toBe('OPERATION.SUCCESS.CONTENT.COPY');
|
||||
});
|
||||
}));
|
||||
|
||||
@@ -78,7 +78,7 @@ describe('NodeActionsService', () => {
|
||||
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
|
||||
|
||||
service.moveContent(fakeNode, 'allowed').subscribe((value) => {
|
||||
expect(value).toBe('OPERATION.SUCCES.CONTENT.MOVE');
|
||||
expect(value).toBe('OPERATION.SUCCESS.CONTENT.MOVE');
|
||||
});
|
||||
}));
|
||||
|
||||
@@ -87,7 +87,7 @@ describe('NodeActionsService', () => {
|
||||
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
|
||||
|
||||
service.moveFolder(fakeNode, 'allowed').subscribe((value) => {
|
||||
expect(value).toBe('OPERATION.SUCCES.FOLDER.MOVE');
|
||||
expect(value).toBe('OPERATION.SUCCESS.FOLDER.MOVE');
|
||||
});
|
||||
}));
|
||||
|
||||
@@ -96,7 +96,7 @@ describe('NodeActionsService', () => {
|
||||
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
|
||||
|
||||
service.copyFolder(fakeNode, 'allowed').subscribe((value) => {
|
||||
expect(value).toBe('OPERATION.SUCCES.FOLDER.COPY');
|
||||
expect(value).toBe('OPERATION.SUCCESS.FOLDER.COPY');
|
||||
});
|
||||
}));
|
||||
|
||||
|
@@ -100,7 +100,7 @@ export class NodeActionsService {
|
||||
const selection = selections[0];
|
||||
this.documentListService[`${action}Node`].call(this.documentListService, contentEntry.id, selection.id)
|
||||
.subscribe(
|
||||
observable.next.bind(observable, `OPERATION.SUCCES.${type.toUpperCase()}.${action.toUpperCase()}`),
|
||||
observable.next.bind(observable, `OPERATION.SUCCESS.${type.toUpperCase()}.${action.toUpperCase()}`),
|
||||
observable.error.bind(observable)
|
||||
);
|
||||
},
|
||||
|
Reference in New Issue
Block a user