From 4c688b9734a95b19110b79419b5208928fa19a8d Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 17 Oct 2024 16:40:26 +0200 Subject: [PATCH] Add more tests --- packages/worker/src/api/routes/global/tests/roles.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/worker/src/api/routes/global/tests/roles.spec.ts b/packages/worker/src/api/routes/global/tests/roles.spec.ts index 1ca9ff7e29..28977d8521 100644 --- a/packages/worker/src/api/routes/global/tests/roles.spec.ts +++ b/packages/worker/src/api/routes/global/tests/roles.spec.ts @@ -78,7 +78,7 @@ describe("/api/global/roles", () => { expect(res.body[appId].roles.map((r: any) => r._id)).toContain(ROLE_NAME) }) - it.each(["3.0.0", "3.0.1", "3.1.0"])( + it.each(["3.0.0", "3.0.1", "3.1.0", "3.0.0+2146.b125a7c"])( "exclude POWER roles after v3 (%s)", async creationVersion => { await updateAppMetadata({ creationVersion }) @@ -93,7 +93,7 @@ describe("/api/global/roles", () => { } ) - it.each(["2.9.0", "1.0.0"])( + it.each(["2.9.0", "1.0.0", "0.0.0", "2.32.17+2146.b125a7c"])( "include POWER roles before v3 (%s)", async creationVersion => { await updateAppMetadata({ creationVersion })