"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/search-page/configuration-search-page.component.spec.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

configuration-search-page.component.spec.ts  (dspace-angular-dspace-7.0):configuration-search-page.component.spec.ts  (dspace-angular-dspace-7.1)
skipping to change at line 58 skipping to change at line 58
}); });
it('should set route parameters on init', () => { it('should set route parameters on init', () => {
expect(comp.configuration).toBe(CONFIGURATION); expect(comp.configuration).toBe(CONFIGURATION);
expect(comp.fixedFilterQuery).toBe(QUERY); expect(comp.fixedFilterQuery).toBe(QUERY);
expect(routeService.setParameter).toHaveBeenCalledWith('configuration', CONF IGURATION); expect(routeService.setParameter).toHaveBeenCalledWith('configuration', CONF IGURATION);
expect(routeService.setParameter).toHaveBeenCalledWith('fixedFilterQuery', Q UERY); expect(routeService.setParameter).toHaveBeenCalledWith('fixedFilterQuery', Q UERY);
}); });
it('should reset route parameters on destroy', () => {
fixture.destroy();
expect(routeService.setParameter).toHaveBeenCalledWith('configuration', unde
fined);
expect(routeService.setParameter).toHaveBeenCalledWith('fixedFilterQuery', u
ndefined);
});
}); });
 End of changes. 1 change blocks. 
8 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)