remove search configuration enforcement (#3315)

This commit is contained in:
Denys Vuika
2018-05-14 10:24:29 +01:00
committed by Eugenio Romano
parent 84a9837789
commit bd4451e83d
2 changed files with 3 additions and 15 deletions

View File

@@ -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: [