From 7b96500a75dc4a8156b6008813fd9fcb8faace0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Fri, 6 Oct 2023 15:36:00 +0200 Subject: [PATCH] fix: backend tests failing since the start of this semester --- backend/backend/test/storage/elasticsearch/query.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/backend/test/storage/elasticsearch/query.ts b/backend/backend/test/storage/elasticsearch/query.ts index 4ce6fd60..ade5ad40 100644 --- a/backend/backend/test/storage/elasticsearch/query.ts +++ b/backend/backend/test/storage/elasticsearch/query.ts @@ -29,7 +29,7 @@ export const query: QueryDslQueryContainer = { should: [], }, }, - weight: 1.1, + weight: 1.05, }, { filter: { @@ -42,14 +42,14 @@ export const query: QueryDslQueryContainer = { }, { term: { - 'academicTerms.acronym.raw': 'WS 2022/23', + 'academicTerms.acronym.raw': 'WS 2023/24', }, }, ], should: [], }, }, - weight: 1.05, + weight: 1.1, }, { filter: { @@ -69,7 +69,7 @@ export const query: QueryDslQueryContainer = { should: [], }, }, - weight: 1.1, + weight: 1.05, }, { filter: { @@ -82,14 +82,14 @@ export const query: QueryDslQueryContainer = { }, { term: { - 'academicTerms.acronym.raw': 'WiSe 2022/23', + 'academicTerms.acronym.raw': 'WiSe 2023/24', }, }, ], should: [], }, }, - weight: 1.05, + weight: 1.1, }, { filter: {