mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
remove search configuration enforcement (#3315)
This commit is contained in:
committed by
Eugenio Romano
parent
84a9837789
commit
bd4451e83d
@@ -27,14 +27,6 @@ describe('SearchQueryBuilder', () => {
|
||||
return config;
|
||||
};
|
||||
|
||||
it('should throw error if configuration not provided', () => {
|
||||
expect(() => {
|
||||
const appConfig = new AppConfigService(null);
|
||||
// tslint:disable-next-line:no-unused-expression
|
||||
new SearchQueryBuilderService(appConfig, null);
|
||||
}).toThrowError('Search configuration not found.');
|
||||
});
|
||||
|
||||
it('should use only enabled categories', () => {
|
||||
const config: SearchConfiguration = {
|
||||
categories: [
|
||||
|
Reference in New Issue
Block a user