This commit is contained in:
parent
3119ae4471
commit
68c33efd9a
|
@ -197,7 +197,7 @@ describe('Component vnSearchbar', () => {
|
|||
controller.doSearch(filter, 'any');
|
||||
$scope.$apply();
|
||||
|
||||
expect(controller.onSearch).toHaveBeenCalledWith({$params: filter});
|
||||
expect(controller.onSearch).toHaveBeenCalledWith({$params: filter}, 'any');
|
||||
expect(controller.onFilter).toHaveBeenCalledWith(filter, 'any', undefined);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue