mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Manual upstream (#5040)
This commit is contained in:
+6
-2
@@ -175,7 +175,9 @@ describe('SearchInputComponent', () => {
|
||||
component.searchedWord = 'term';
|
||||
|
||||
routerEventsSubject.next(new NavigationStart(1, '/path?q=term'));
|
||||
configUpdatedSubject.next({});
|
||||
configUpdatedSubject.next({
|
||||
id: 'config1'
|
||||
});
|
||||
|
||||
expect(component.searchByOption).toHaveBeenCalled();
|
||||
});
|
||||
@@ -185,7 +187,9 @@ describe('SearchInputComponent', () => {
|
||||
|
||||
routerEventsSubject.next(new NavigationStart(1, '/path'));
|
||||
|
||||
configUpdatedSubject.next({});
|
||||
configUpdatedSubject.next({
|
||||
id: 'config1'
|
||||
});
|
||||
spyOn(component, 'searchByOption').and.stub();
|
||||
|
||||
component.ngOnInit();
|
||||
|
||||
Reference in New Issue
Block a user