From 8ba1b936f82db0ad4b7978b0f68cdaa54058058e Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sun, 15 Oct 2023 21:15:53 +0200 Subject: [PATCH] chore(backend): Update tests for recent changes --- sites/backend/tests/curated-set.mjs | 14 ++------------ sites/backend/tests/option-pack.mjs | 14 ++------------ 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/sites/backend/tests/curated-set.mjs b/sites/backend/tests/curated-set.mjs index 21b077647ac..9657b75f6c4 100644 --- a/sites/backend/tests/curated-set.mjs +++ b/sites/backend/tests/curated-set.mjs @@ -17,12 +17,7 @@ export const curatedSetTests = async (chai, config, expect, store) => { notesFr: 'Ce sont les notes A', notesNl: 'Dit zijn de notities A', notesUk: 'These are the ukranian notes A', - tagsDe: ['tagA', 'tagB'], - tagsEn: ['tagA', 'tagB'], - tagsEs: ['tagA', 'tagB'], - tagsFr: ['tagA', 'tagB'], - tagsNl: ['tagA', 'tagB'], - tagsUk: ['tagA', 'tagB'], + tags: ['tagA', 'tagB'], measies: { chest: 1000, neck: 420, @@ -42,12 +37,7 @@ export const curatedSetTests = async (chai, config, expect, store) => { notesFr: 'Ce sont les notes B', notesNl: 'Dit zijn de notities B', notesUk: 'These are the ukranian notes B', - tagsDe: ['tagA', 'tagB'], - tagsEn: ['tagA', 'tagB'], - tagsEs: ['tagA', 'tagB'], - tagsFr: ['tagA', 'tagB'], - tagsNl: ['tagA', 'tagB'], - tagsUk: ['tagA', 'tagB'], + tags: ['tagA', 'tagB'], measies: { chest: 930, neck: 360, diff --git a/sites/backend/tests/option-pack.mjs b/sites/backend/tests/option-pack.mjs index 1e675fc8b45..38a6edc2e1b 100644 --- a/sites/backend/tests/option-pack.mjs +++ b/sites/backend/tests/option-pack.mjs @@ -18,12 +18,7 @@ export const optionPackTests = async (chai, config, expect, store) => { notesFr: 'Aaron notes A', notesNl: 'Aaron notes A', notesUk: 'Aaron notes A', - tagsDe: ['tagA', 'tagB'], - tagsEn: ['tagA', 'tagB'], - tagsEs: ['tagA', 'tagB'], - tagsFr: ['tagA', 'tagB'], - tagsNl: ['tagA', 'tagB'], - tagsUk: ['tagA', 'tagB'], + tags: ['tagA', 'tagB'], options: { backlineBend: 0.666, necklineBend: 0.8, @@ -45,12 +40,7 @@ export const optionPackTests = async (chai, config, expect, store) => { notesFr: 'Aaron notes B', notesNl: 'Aaron notes B', notesUk: 'Aaron notes B', - tagsDe: ['tagA', 'tagB'], - tagsEn: ['tagA', 'tagB'], - tagsEs: ['tagA', 'tagB'], - tagsFr: ['tagA', 'tagB'], - tagsNl: ['tagA', 'tagB'], - tagsUk: ['tagA', 'tagB'], + tags: ['tagA', 'tagB'], options: { backlineBend: 0.444, necklineBend: 0.7,