mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1426] Search - back from preview breaks view (#376)
* build url from string * fix tests
This commit is contained in:
committed by
Denys Vuika
parent
f2cc8e260b
commit
f21ddee491
@@ -205,7 +205,7 @@ describe('PreviewComponent', () => {
|
||||
component.onVisibilityChanged(false);
|
||||
|
||||
expect(router.navigate).toHaveBeenCalledWith(
|
||||
['libraries']
|
||||
['libraries', {}]
|
||||
);
|
||||
});
|
||||
|
||||
@@ -219,7 +219,7 @@ describe('PreviewComponent', () => {
|
||||
component.onVisibilityChanged(false);
|
||||
|
||||
expect(router.navigate).toHaveBeenCalledWith(
|
||||
['libraries', 'site1']
|
||||
['libraries', {}, 'site1']
|
||||
);
|
||||
});
|
||||
|
||||
@@ -233,7 +233,7 @@ describe('PreviewComponent', () => {
|
||||
component.onVisibilityChanged(false);
|
||||
|
||||
expect(router.navigate).toHaveBeenCalledWith(
|
||||
['shared']
|
||||
['shared', {}]
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user