From 3f952ebb5036fa03ee40525bbbb3c9c253397753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20=C3=87=C4=B1dam?= Date: Fri, 15 Dec 2017 23:25:42 +0300 Subject: [PATCH] rename --- geth/account/accounts_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/geth/account/accounts_test.go b/geth/account/accounts_test.go index a714c72ca..f9939755d 100644 --- a/geth/account/accounts_test.go +++ b/geth/account/accounts_test.go @@ -112,9 +112,9 @@ func TestVerifyAccountPasswordWithAccountBeforeEIP55(t *testing.T) { require.NoError(t, err) } -// newTestAccManager returns the account manager and the mock node manager +// newTestManager returns the account manager and the mock node manager // that's being used within it for testing purposes. -func newTestAccManager(t *testing.T) (accManager *account.Manager, nodeManager *common.MockNodeManager) { +func newTestManager(t *testing.T) (accManager *account.Manager, nodeManager *common.MockNodeManager) { ctrl := gomock.NewController(t) nodeManager = common.NewMockNodeManager(ctrl) accManager = account.NewManager(nodeManager) @@ -131,7 +131,7 @@ func newTestKeyStore(t *testing.T, dir string) (keyStore *keystore.KeyStore, key } func TestCreateAndRecoverAccountSuccess(t *testing.T) { - accManager, nodeManager := newTestAccManager(t) + accManager, nodeManager := newTestManager(t) var password string @@ -163,7 +163,7 @@ func TestCreateAndRecoverAccountSuccess(t *testing.T) { } func TestCreateAndRecoverAccountFail_KeyStore(t *testing.T) { - accManager, nodeManager := newTestAccManager(t) + accManager, nodeManager := newTestManager(t) password := "some-pass"