From 43a910899e9363dff43ff75743ec5094df063b94 Mon Sep 17 00:00:00 2001 From: Jasmine/kimjimin Date: Mon, 21 Oct 2019 09:35:13 +0900 Subject: [PATCH] Fixed scenario test error --- test/scenarioTest/accountKeyMultiSig.js | 2 +- test/scenarioTest/accountKeyRoleBased.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/scenarioTest/accountKeyMultiSig.js b/test/scenarioTest/accountKeyMultiSig.js index dfe35c45..8dbf0d98 100644 --- a/test/scenarioTest/accountKeyMultiSig.js +++ b/test/scenarioTest/accountKeyMultiSig.js @@ -598,7 +598,7 @@ describe('Scenario test with AccountWithAccountKeyMultiSig', () => { const expectedError = 'invalid transaction v, r, s values of the sender' try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } }).timeout(200000) }) diff --git a/test/scenarioTest/accountKeyRoleBased.js b/test/scenarioTest/accountKeyRoleBased.js index 18231c0d..70c02a89 100644 --- a/test/scenarioTest/accountKeyRoleBased.js +++ b/test/scenarioTest/accountKeyRoleBased.js @@ -610,14 +610,14 @@ describe('Scenario test with AccountWithAccountKeyRoleBased', () => { let expectedError = 'invalid transaction v, r, s values of the sender' try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } // insufficient weight senderSigned = await caver.klay.accounts.signTransaction(txObject, account.transactionKey[0]) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } txObject = { @@ -630,14 +630,14 @@ describe('Scenario test with AccountWithAccountKeyRoleBased', () => { senderSigned = await caver.klay.accounts.signTransaction(txObject, account.transactionKey) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } // insufficient weight senderSigned = await caver.klay.accounts.signTransaction(txObject, account.updateKey[0]) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } txObject = {