mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Updated test to match the fix
This commit is contained in:
@@ -123,7 +123,7 @@ describe('AlfrescoSearchComponent', () => {
|
||||
|
||||
it('should display search results when a search term is provided', (done) => {
|
||||
|
||||
component.searchTerm = 'searchTerm';
|
||||
component.searchTerm = { currentValue: 'searchTerm', previousValue: ''};
|
||||
component.ngOnChanges({searchTerm: component.searchTerm});
|
||||
|
||||
component.resultsEmitter.subscribe(x => {
|
||||
@@ -148,7 +148,7 @@ describe('AlfrescoSearchComponent', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
component.searchTerm = 'searchTerm';
|
||||
component.searchTerm = { currentValue: 'searchTerm', previousValue: ''};
|
||||
component.ngOnChanges({searchTerm: component.searchTerm});
|
||||
|
||||
jasmine.Ajax.requests.mostRecent().respondWith({
|
||||
|
Reference in New Issue
Block a user