@@ -1067,7 +1067,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
10671067 account . publicKey ,
10681068 UInt64 . fromUint ( 1000 ) ,
10691069 1 ,
1070- Convert . uint8ToUtf8 ( new Uint8Array ( 10 ) ) ,
1070+ 'Test Value' ,
10711071 NetworkType . MIJIN_TEST ,
10721072 ) ;
10731073
@@ -1078,7 +1078,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
10781078 expect ( transaction . targetPublicKey ) . to . be . equal ( account . publicKey ) ;
10791079 expect ( transaction . scopedMetadataKey . toHex ( ) ) . to . be . equal ( UInt64 . fromUint ( 1000 ) . toHex ( ) ) ;
10801080 expect ( transaction . valueSizeDelta ) . to . be . equal ( 1 ) ;
1081- expect ( Convert . uint8ToHex ( transaction . value ) ) . to . be . equal ( Convert . uint8ToHex ( new Uint8Array ( 10 ) ) ) ;
1081+ expect ( transaction . value ) . to . be . equal ( 'Test Value' ) ;
10821082 } ) ;
10831083
10841084 it ( 'should create MosaicMetadataTransaction' , ( ) => {
@@ -1088,7 +1088,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
10881088 UInt64 . fromUint ( 1000 ) ,
10891089 new MosaicId ( [ 2262289484 , 3405110546 ] ) ,
10901090 1 ,
1091- Convert . uint8ToUtf8 ( new Uint8Array ( 10 ) ) ,
1091+ 'Test Value' ,
10921092 NetworkType . MIJIN_TEST ,
10931093 ) ;
10941094
@@ -1100,7 +1100,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
11001100 expect ( transaction . scopedMetadataKey . toHex ( ) ) . to . be . equal ( UInt64 . fromUint ( 1000 ) . toHex ( ) ) ;
11011101 expect ( transaction . valueSizeDelta ) . to . be . equal ( 1 ) ;
11021102 expect ( transaction . targetMosaicId . toHex ( ) ) . to . be . equal ( new MosaicId ( [ 2262289484 , 3405110546 ] ) . toHex ( ) ) ;
1103- expect ( Convert . uint8ToHex ( transaction . value ) ) . to . be . equal ( Convert . uint8ToHex ( new Uint8Array ( 10 ) ) ) ;
1103+ expect ( transaction . value ) . to . be . equal ( 'Test Value' ) ;
11041104 } ) ;
11051105
11061106 it ( 'should create NamespaceMetadataTransaction' , ( ) => {
@@ -1110,7 +1110,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
11101110 UInt64 . fromUint ( 1000 ) ,
11111111 new NamespaceId ( [ 2262289484 , 3405110546 ] ) ,
11121112 1 ,
1113- Convert . uint8ToUtf8 ( new Uint8Array ( 10 ) ) ,
1113+ 'Test Value' ,
11141114 NetworkType . MIJIN_TEST ,
11151115 ) ;
11161116
@@ -1122,6 +1122,6 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
11221122 expect ( transaction . scopedMetadataKey . toString ( ) ) . to . be . equal ( UInt64 . fromUint ( 1000 ) . toString ( ) ) ;
11231123 expect ( transaction . valueSizeDelta ) . to . be . equal ( 1 ) ;
11241124 expect ( transaction . targetNamespaceId . toHex ( ) ) . to . be . equal ( new NamespaceId ( [ 2262289484 , 3405110546 ] ) . toHex ( ) ) ;
1125- expect ( Convert . uint8ToHex ( transaction . value ) ) . to . be . equal ( Convert . uint8ToHex ( new Uint8Array ( 10 ) ) ) ;
1125+ expect ( transaction . value ) . to . be . equal ( 'Test Value' ) ;
11261126 } ) ;
11271127} ) ;
0 commit comments