fix(test): tests that got broken along the way

This commit is contained in:
Elian Doran
2025-03-15 17:51:10 +02:00
parent bc8cca664b
commit 2b966afbe1
7 changed files with 30 additions and 46 deletions

View File

@@ -27,6 +27,7 @@ describe("Share API test", () => {
it("requests password for password-protected share", async () => {
await supertest(app)
.get("/share/YjlPRj2E9fOV")
.expect(200)
.expect("WWW-Authenticate", 'Basic realm="User Visible Realm", charset="UTF-8"');
expect(cannotSetHeadersCount).toBe(0);
});