@@ -79,7 +79,7 @@ describe('TransactionMapping - createFromPayload', () => {
7979 ) ;
8080 const addressRestrictionTransaction = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
8181 Deadline . create ( ) ,
82- AccountRestrictionType . AllowAddress ,
82+ AccountRestrictionType . AllowIncomingAddress ,
8383 [ addressRestrictionFilter ] ,
8484 NetworkType . MIJIN_TEST ,
8585 ) ;
@@ -89,7 +89,7 @@ describe('TransactionMapping - createFromPayload', () => {
8989 const transaction = TransactionMapping
9090 . createFromPayload ( signedTransaction . payload ) as AccountAddressRestrictionModificationTransaction ;
9191
92- expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowAddress ) ;
92+ expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowIncomingAddress ) ;
9393 expect ( transaction . modifications [ 0 ] . modificationType ) . to . be . equal ( RestrictionModificationType . Add ) ;
9494 expect ( transaction . modifications [ 0 ] . value ) . to . be . equal ( 'SBILTA367K2LX2FEXG5TFWAS7GEFYAGY7QLFBYKC' ) ;
9595 } ) ;
@@ -125,7 +125,7 @@ describe('TransactionMapping - createFromPayload', () => {
125125 ) ;
126126 const operationRestrictionTransaction = AccountRestrictionTransaction . createOperationRestrictionModificationTransaction (
127127 Deadline . create ( ) ,
128- AccountRestrictionType . AllowTransaction ,
128+ AccountRestrictionType . AllowIncomingTransactionType ,
129129 [ operationRestrictionFilter ] ,
130130 NetworkType . MIJIN_TEST ,
131131 ) ;
@@ -134,7 +134,7 @@ describe('TransactionMapping - createFromPayload', () => {
134134
135135 const transaction = TransactionMapping
136136 . createFromPayload ( signedTransaction . payload ) as AccountAddressRestrictionModificationTransaction ;
137- expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowTransaction ) ;
137+ expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowIncomingTransactionType ) ;
138138 expect ( transaction . modifications [ 0 ] . value ) . to . be . equal ( operation ) ;
139139 expect ( transaction . modifications [ 0 ] . modificationType ) . to . be . equal ( RestrictionModificationType . Add ) ;
140140 } ) ;
@@ -666,7 +666,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
666666 ) ;
667667 const addressRestrictionTransaction = AccountRestrictionTransaction . createAddressRestrictionModificationTransaction (
668668 Deadline . create ( ) ,
669- AccountRestrictionType . AllowAddress ,
669+ AccountRestrictionType . AllowIncomingAddress ,
670670 [ addressRestrictionFilter ] ,
671671 NetworkType . MIJIN_TEST ,
672672 ) ;
@@ -675,7 +675,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
675675 TransactionMapping . createFromDTO ( addressRestrictionTransaction . toJSON ( ) ) as AccountAddressRestrictionModificationTransaction ;
676676
677677 expect ( transaction . modifications [ 0 ] . value ) . to . be . equal ( 'SBILTA367K2LX2FEXG5TFWAS7GEFYAGY7QLFBYKC' ) ;
678- expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowAddress ) ;
678+ expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowIncomingAddress ) ;
679679 expect ( transaction . modifications [ 0 ] . modificationType ) . to . be . equal ( RestrictionModificationType . Add ) ;
680680 } ) ;
681681
@@ -708,7 +708,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
708708 ) ;
709709 const operationRestrictionTransaction = AccountRestrictionTransaction . createOperationRestrictionModificationTransaction (
710710 Deadline . create ( ) ,
711- AccountRestrictionType . AllowTransaction ,
711+ AccountRestrictionType . AllowIncomingTransactionType ,
712712 [ operationRestrictionFilter ] ,
713713 NetworkType . MIJIN_TEST ,
714714 ) ;
@@ -717,7 +717,7 @@ describe('TransactionMapping - createFromDTO (Transaction.toJSON() feed)', () =>
717717 TransactionMapping . createFromDTO ( operationRestrictionTransaction . toJSON ( ) ) as AccountMosaicRestrictionModificationTransaction ;
718718
719719 expect ( transaction . type ) . to . be . equal ( TransactionType . MODIFY_ACCOUNT_RESTRICTION_OPERATION ) ;
720- expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowTransaction ) ;
720+ expect ( transaction . restrictionType ) . to . be . equal ( AccountRestrictionType . AllowIncomingTransactionType ) ;
721721 expect ( transaction . modifications . length ) . to . be . equal ( 1 ) ;
722722 } ) ;
723723
0 commit comments