Skip to content

Commit

Permalink
Update tests to pass false on invalid repository
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Feb 20, 2024
1 parent ea20d04 commit 09702fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/http/postPackages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("POST /api/packages Behaves as expected", () => {

const sso = await endpoint.logic(
{
repository: "",
repository: false,
auth: "valid-token",
},
localContext
Expand All @@ -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
Expand Down

0 comments on commit 09702fe

Please sign in to comment.