From 438ca4b9205eb1bdef6fbcff1fb128b139ab00a7 Mon Sep 17 00:00:00 2001 From: Valerij Fredriksen Date: Mon, 30 Jan 2023 11:12:06 +0100 Subject: Fix unit test --- .../querybuilder/context/__test__/query-builder-provider.test.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client/js') diff --git a/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx b/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx index bf164671639..fb050a7eeb9 100644 --- a/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx +++ b/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx @@ -2,8 +2,6 @@ import { ACTION, reducer, } from 'app/pages/querybuilder/context/query-builder-provider'; -import parameters from 'app/pages/querybuilder/context/parameters'; -import { cloneDeep, omitBy } from 'lodash'; const state = reducer(); @@ -193,7 +191,7 @@ test('set query', () => { error('POST', '{"yql":"test}', 'Unexpected end of JSON input'); msg = - "Property 'ranking' cannot have a value, supported children: features,freshness,listFeatures,location,matchPhase,matching,profile,properties,queryCache,rerankCount,sorting"; + "Property 'ranking' cannot have a value, supported children: features,freshness,listFeatures,location,matchPhase,matching,profile,properties,queryCache,rerankCount,softtimeout,sorting"; error('POST', '{"ranking":123}', msg); error('GET', 'ranking=123', msg); -- cgit v1.2.3