From a5afb39803e70a6117965760f50615aaba82f84a Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 12:08:17 +0200 Subject: Added curl params in the git-upload-pack git http unit test --- test/unit/git-http.unit.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/git-http.unit.test.ts b/test/unit/git-http.unit.test.ts index 92feefc..b8a0917 100644 --- a/test/unit/git-http.unit.test.ts +++ b/test/unit/git-http.unit.test.ts @@ -79,7 +79,8 @@ describe("Git HTTP backend", () => { const res = new Promise((resolve: (value: Record) => void, reject: (value: ExecException) => void) => { const curl_params = [ "-X POST", - "-s", + "-sS", + "-f", "-H \"Content-Type: application/x-git-upload-pack-request\"", "-T -" ].join(" "); -- cgit v1.2.3-18-g5258