From db0bb4f0fa0ccec2206cf67e3da49226264fec78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Prohaszka?= Date: Wed, 7 Aug 2024 10:19:29 +0200 Subject: [PATCH] chore: update test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Prohaszka --- .../src/bridge/buildTransaction.integ.test.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libs/coin-modules/coin-stellar/src/bridge/buildTransaction.integ.test.ts b/libs/coin-modules/coin-stellar/src/bridge/buildTransaction.integ.test.ts index 8bdffbfe3b4d..df05d6e346ad 100644 --- a/libs/coin-modules/coin-stellar/src/bridge/buildTransaction.integ.test.ts +++ b/libs/coin-modules/coin-stellar/src/bridge/buildTransaction.integ.test.ts @@ -99,7 +99,6 @@ describe("buildTransaction", () => { it("returns a built transaction in Stellar format when useAllAmount", async () => { // Given - const sender = "GCTS5ANSL6YCXR2M4XXM5BPN34UUT3M2VUJWVYOX5EMSHZC3T7O5Z6NZ"; const account = createFixtureAccount({ freshAddress: sender, balance: BigNumber(600239412), @@ -150,9 +149,7 @@ describe("buildTransaction", () => { // Then expect(builtTransaction.fee).toEqual("1"); - expect(builtTransaction.source).toEqual( - "GCTS5ANSL6YCXR2M4XXM5BPN34UUT3M2VUJWVYOX5EMSHZC3T7O5Z6NZ", - ); + expect(builtTransaction.source).toEqual(sender); expect(builtTransaction.operations).toHaveLength(1); const operation = builtTransaction.operations[0]; expect(operation.type).toEqual("payment"); @@ -181,9 +178,7 @@ describe("buildTransaction", () => { // Then expect(builtTransaction.fee).toEqual("1"); - expect(builtTransaction.source).toEqual( - "GCTS5ANSL6YCXR2M4XXM5BPN34UUT3M2VUJWVYOX5EMSHZC3T7O5Z6NZ", - ); + expect(builtTransaction.source).toEqual(sender); expect(builtTransaction.operations).toHaveLength(1); expect(builtTransaction.memo.type).toEqual("text"); expect(builtTransaction.memo.value).toEqual("Hello");