finalize TestCreateChildAccount

This commit is contained in:
Caner Çıdam 2017-12-19 18:52:13 +03:00 committed by Frank Mueller
parent 3fd4e04f59
commit 48d75d135c
1 changed files with 14 additions and 0 deletions

View File

@ -310,6 +310,20 @@ func (s *ManagerTestSuite) TestCreateChildAccount() {
[]interface{}{nil, errors.New("Can't return a key store")}, []interface{}{nil, errors.New("Can't return a key store")},
true, true,
}, },
{
"fail_wrongAddress",
"wrong-address",
s.password,
[]interface{}{s.keyStore, nil},
true,
},
{
"fail_wrongPassword",
addr,
"wrong-password",
[]interface{}{s.keyStore, nil},
true,
},
} }
for _, testCase := range testCases { for _, testCase := range testCases {