From 8c82c64a713e111887a641a1348262cf85b28114 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 1 Jul 2024 00:54:44 +0200 Subject: [PATCH] Fixing autocomplete mysql test. --- test/TestHelper.ts | 3 --- test/backend/unit/model/sql/SearchManager.spec.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/TestHelper.ts b/test/TestHelper.ts index da82e236..e1a2dc38 100644 --- a/test/TestHelper.ts +++ b/test/TestHelper.ts @@ -199,9 +199,6 @@ export class TestHelper { } as FaceRegion, { box: {height: 10, width: 10, left: 104, top: 104}, name: 'Unkle Ben' - } as FaceRegion, { - box: {height: 10, width: 10, left: 105, top: 105}, - name: 'Árvíztűrő Tükörfúrógép' } as FaceRegion, { box: {height: 10, width: 10, left: 201, top: 201}, name: 'R2-D2' diff --git a/test/backend/unit/model/sql/SearchManager.spec.ts b/test/backend/unit/model/sql/SearchManager.spec.ts index 33ec8e60..e4597d0a 100644 --- a/test/backend/unit/model/sql/SearchManager.spec.ts +++ b/test/backend/unit/model/sql/SearchManager.spec.ts @@ -1387,7 +1387,7 @@ describe('SearchManager', (sqlHelper: DBTestHelper) => { resultOverflow: false } as SearchResultDTO)); - query = ({value: 6, type: SearchQueryTypes.min_person_count} as MinPersonCountSearch); + query = ({value: 5, type: SearchQueryTypes.min_person_count} as MinPersonCountSearch); expect(Utils.clone(await sm.search(query))) .to.deep.equalInAnyOrder(removeDir({ searchQuery: query,