Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-zijdemans-vipps committed Feb 6, 2024
1 parent 4dd0ac1 commit 5e71eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base_client_helper_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Deno.test("createUserAgent - Should return the correct user agent for require",
});

Deno.test("createUserAgent - Should return the correct user agent string when loaded from deno.land/x", () => {
const expectedUserAgent = "Vipps/Deno SDK/1.0.0";
const expectedUserAgent = "Vipps/Deno SDK/1.1.0";
const actualUserAgent = createSDKUserAgent(
"https://deno.land/x/vipps_mobilepay_sdk@1.1.0/mod.ts",
);
Expand Down
1 change: 1 addition & 0 deletions tests/charge_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Deno.test("create - should return the correct RequestData object", () => {
const requestData = chargeRequestFactory.create(token, agreementId, {
amount: 1000,
transactionType: "DIRECT_CAPTURE",
type: "RECURRING",
description: "Test charge",
due: "2030-12-31",
retryDays: 5,
Expand Down

0 comments on commit 5e71eb5

Please sign in to comment.