From 09702fe0b5752f565ea88a445b5307d754817009 Mon Sep 17 00:00:00 2001 From: confused-Techie Date: Mon, 19 Feb 2024 16:57:51 -0800 Subject: [PATCH] Update tests to pass `false` on invalid repository --- tests/http/postPackages.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/http/postPackages.test.js b/tests/http/postPackages.test.js index e8e91d0e..82df8101 100644 --- a/tests/http/postPackages.test.js +++ b/tests/http/postPackages.test.js @@ -36,7 +36,7 @@ describe("POST /api/packages Behaves as expected", () => { const sso = await endpoint.logic( { - repository: "", + repository: false, auth: "valid-token", }, localContext @@ -63,7 +63,7 @@ describe("POST /api/packages Behaves as expected", () => { const sso = await endpoint.logic( { - repository: "bad-format", + repository: false, auth: "valid-token", }, localContext