@@ -796,8 +796,8 @@ describe('Deposit address', function () {
796796 assert ( Object . prototype . hasOwnProperty . call ( result , 'address' ) , WARN_SHOULD_HAVE_KEY + 'address' ) ;
797797 assert ( Object . prototype . hasOwnProperty . call ( result , 'success' ) , WARN_SHOULD_HAVE_KEY + 'success' ) ;
798798 assert ( Object . prototype . hasOwnProperty . call ( result , 'addressTag' ) , WARN_SHOULD_HAVE_KEY + 'addressTag' ) ;
799- assert ( Object . prototype . hasOwnProperty . call ( result , 'asset ' ) , WARN_SHOULD_HAVE_KEY + 'asset ' ) ;
800- assert ( result . asset === 'BTC' ) ;
799+ assert ( Object . prototype . hasOwnProperty . call ( result , 'coin ' ) , WARN_SHOULD_HAVE_KEY + 'coin ' ) ;
800+ assert ( result . coin === 'BTC' ) ;
801801 assert ( result . success === true ) ;
802802 done ( ) ;
803803 } ) ;
@@ -814,7 +814,7 @@ describe('Deposit address', function () {
814814 assert ( Object . prototype . hasOwnProperty . call ( result , 'address' ) === false , WARN_SHOULD_NOT_HAVE_KEY + 'address' ) ;
815815 assert ( Object . prototype . hasOwnProperty . call ( result , 'success' ) , WARN_SHOULD_NOT_HAVE_KEY + 'success' ) ;
816816 assert ( Object . prototype . hasOwnProperty . call ( result , 'addressTag' ) === false , WARN_SHOULD_NOT_HAVE_KEY + 'addressTag' ) ;
817- assert ( Object . prototype . hasOwnProperty . call ( result , 'asset ' ) === false , WARN_SHOULD_NOT_HAVE_KEY + 'asset ' ) ;
817+ assert ( Object . prototype . hasOwnProperty . call ( result , 'coin ' ) === false , WARN_SHOULD_NOT_HAVE_KEY + 'coin ' ) ;
818818 assert ( result . success === false ) ;
819819 done ( ) ;
820820 } ) ;
0 commit comments