From fb68b3c503eac34518b5d24705a19b1b5ff27baa Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Mon, 8 Jan 2024 13:34:28 -0800 Subject: [PATCH] Fix tests --- packages/transport-http/src/send-execute-script.test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/transport-http/src/send-execute-script.test.js b/packages/transport-http/src/send-execute-script.test.js index db9237212..fad0b9ca0 100644 --- a/packages/transport-http/src/send-execute-script.test.js +++ b/packages/transport-http/src/send-execute-script.test.js @@ -51,7 +51,8 @@ describe("Send Execute Script", () => { path: "/v1/scripts?block_height=sealed", method: "POST", body: { - script: "cHViIGZ1biBtYWluKGE6IEludCk6IEludCB7IHJldHVybiBhIH0=", + script: + "YWNjZXNzKGFsbCkgZnVuIG1haW4oYTogSW50KTogSW50IHsgcmV0dXJuIGEgfQ==", arguments: ["eyJ0eXBlIjoiSW50IiwidmFsdWUiOiIxMjMifQ=="], }, }) @@ -96,7 +97,7 @@ describe("Send Execute Script", () => { path: "/v1/scripts?block_id=123", method: "POST", body: { - script: "cHViIGZ1biBtYWluKCk6IEludCB7IHJldHVybiAxMjMgfQ==", + script: "YWNjZXNzKGFsbCkgZnVuIG1haW4oKTogSW50IHsgcmV0dXJuIDEyMyB9", arguments: [], }, }) @@ -141,7 +142,7 @@ describe("Send Execute Script", () => { path: "/v1/scripts?block_height=123", method: "POST", body: { - script: "cHViIGZ1biBtYWluKCk6IEludCB7IHJldHVybiAxMjMgfQ==", + script: "YWNjZXNzKGFsbCkgZnVuIG1haW4oKTogSW50IHsgcmV0dXJuIDEyMyB9", arguments: [], }, })