mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-9536] fix failing unit tests (#4556)
* [ACS-9536] fix failing unit tests, use correct testing module * [ACS-9536] provide mock service for preview unit tests
This commit is contained in:
committed by
GitHub
parent
311efee36d
commit
325d072c4d
@@ -491,6 +491,10 @@ describe('FilesComponent', () => {
|
||||
documentBasePageService = TestBed.inject(DocumentBasePageService);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
store.resetSelectors();
|
||||
});
|
||||
|
||||
it('should have assigned displayDragAndDropHint to false if currentFolder is selected and uploading is not allowable', () => {
|
||||
store.overrideSelector(getCurrentFolder, node);
|
||||
spyOn(documentBasePageService, 'canUploadContent').and.returnValue(false);
|
||||
|
Reference in New Issue
Block a user