From 861f6edb6310e121fed3492cf10dceac04dfb8c0 Mon Sep 17 00:00:00 2001 From: F-Node-Karlsruhe Date: Fri, 20 Oct 2023 11:20:12 +0200 Subject: [PATCH] fix tests Signed-off-by: F-Node-Karlsruhe --- api/__tests__/presentation.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/__tests__/presentation.test.ts b/api/__tests__/presentation.test.ts index 5af5d15..5699b93 100644 --- a/api/__tests__/presentation.test.ts +++ b/api/__tests__/presentation.test.ts @@ -250,7 +250,7 @@ describe("Verifier API Test for Presentations", () => { }); test("Verify single SD-JWT presentation with challenge & domain", async () => { - const res = await request(app).post("/api/verifier").query({ nonce: '9876543210', aud: 'did:web:verifier.example' }).send([sdJWTPresentation]); + const res = await request(server).post("/api/verifier").query({ nonce: '9876543210', aud: 'did:web:verifier.example' }).send([sdJWTPresentation]); expect(res.statusCode).toEqual(200); expect(res.body[0]).toHaveProperty('verified'); console.log(res.body[0])