diff --git a/constructor/coordinator/coordinator_test.go b/constructor/coordinator/coordinator_test.go index 4d60f58df..2f4fc54b1 100644 --- a/constructor/coordinator/coordinator_test.go +++ b/constructor/coordinator/coordinator_test.go @@ -145,7 +145,7 @@ func TestProcess(t *testing.T) { }, { Type: job.SaveAccount, - Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key.public_key}}}`, + Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key}}}`, }, }, }, @@ -1601,7 +1601,7 @@ func TestReturnFunds_NoBalance(t *testing.T) { }, { Type: job.SaveAccount, - Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key.public_key}}}`, + Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key}}}`, }, }, }, @@ -1831,7 +1831,7 @@ func TestReturnFunds_NoWorkflow(t *testing.T) { }, { Type: job.SaveAccount, - Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key.public_key}}}`, + Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key}}}`, }, }, }, @@ -1938,7 +1938,7 @@ func TestReturnFunds(t *testing.T) { }, { Type: job.SaveAccount, - Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key.public_key}}}`, + Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key}}}`, }, }, }, diff --git a/constructor/worker/worker_test.go b/constructor/worker/worker_test.go index 035a1453f..0746b2ed6 100644 --- a/constructor/worker/worker_test.go +++ b/constructor/worker/worker_test.go @@ -1011,7 +1011,7 @@ func TestJob_ComplicatedTransfer(t *testing.T) { }, { Type: job.SaveAccount, - Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key.public_key}}}`, + Input: `{"account_identifier": {{account.account_identifier}}, "keypair": {{key}}}`, }, { Type: job.PrintMessage,