1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-02 03:37:54 +02:00

Fixing autocomplete mysql test.

This commit is contained in:
Patrik J. Braun 2024-07-01 00:54:44 +02:00
parent 7f5bef8759
commit 8c82c64a71
2 changed files with 1 additions and 4 deletions

View File

@ -199,9 +199,6 @@ export class TestHelper {
} as FaceRegion, { } as FaceRegion, {
box: {height: 10, width: 10, left: 104, top: 104}, box: {height: 10, width: 10, left: 104, top: 104},
name: 'Unkle Ben' 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, { } as FaceRegion, {
box: {height: 10, width: 10, left: 201, top: 201}, box: {height: 10, width: 10, left: 201, top: 201},
name: 'R2-D2' name: 'R2-D2'

View File

@ -1387,7 +1387,7 @@ describe('SearchManager', (sqlHelper: DBTestHelper) => {
resultOverflow: false resultOverflow: false
} as SearchResultDTO)); } 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))) expect(Utils.clone(await sm.search(query)))
.to.deep.equalInAnyOrder(removeDir({ .to.deep.equalInAnyOrder(removeDir({
searchQuery: query, searchQuery: query,