@@ -691,6 +691,8 @@ describe('LockUpTransferManagerWrapper', () => {
691
691
verify ( mockedSecurityTokenOwnerMethod . callAsync ( ) ) . once ( ) ;
692
692
verify ( mockedSecurityTokenContract . owner ) . once ( ) ;
693
693
verify ( mockedContract . securityToken ) . thrice ( ) ;
694
+ verify ( mockedSecurityTokenDecimalsMethod . callAsync ( ) ) . twice ( ) ;
695
+ verify ( mockedSecurityTokenContract . decimals ) . twice ( ) ;
694
696
verify ( mockedGetSecurityTokenAddressMethod . callAsync ( ) ) . thrice ( ) ;
695
697
verify ( mockedContractFactory . getSecurityTokenContract ( expectedSecurityTokenAddress ) ) . thrice ( ) ;
696
698
verify ( mockedWrapper . getAvailableAddressesAsync ( ) ) . once ( ) ;
@@ -746,7 +748,7 @@ describe('LockUpTransferManagerWrapper', () => {
746
748
// Stub the method
747
749
when ( mockedContract . getLockUp ) . thenReturn ( instance ( mockedGetLockupMethod ) ) ;
748
750
// Stub the request
749
- for ( let i = 0 ; i < lockupNames . length ; i += 1 ) {
751
+ for ( let i = 0 ; i < lockupNames . length ; i += 1 ) {
750
752
when ( mockedGetLockupMethod . callAsync ( objectContaining ( stringToBytes32 ( lockupNames [ i ] ) ) ) ) . thenResolve (
751
753
expectedGetLockupResult ,
752
754
) ;
@@ -800,11 +802,13 @@ describe('LockUpTransferManagerWrapper', () => {
800
802
verify ( mockedSecurityTokenOwnerMethod . callAsync ( ) ) . once ( ) ;
801
803
verify ( mockedSecurityTokenContract . owner ) . once ( ) ;
802
804
verify ( mockedContract . securityToken ) . times ( 4 ) ;
805
+ verify ( mockedSecurityTokenDecimalsMethod . callAsync ( ) ) . thrice ( ) ;
806
+ verify ( mockedSecurityTokenContract . decimals ) . thrice ( ) ;
803
807
verify ( mockedGetSecurityTokenAddressMethod . callAsync ( ) ) . times ( 4 ) ;
804
808
verify ( mockedContractFactory . getSecurityTokenContract ( expectedSecurityTokenAddress ) ) . times ( 4 ) ;
805
809
verify ( mockedWrapper . getAvailableAddressesAsync ( ) ) . once ( ) ;
806
810
verify ( mockedContract . getLockUp ) . times ( mockedGetLockupParams . lockupNames . length ) ;
807
- for ( let i = 0 ; i < lockupNames . length ; i += 1 ) {
811
+ for ( let i = 0 ; i < lockupNames . length ; i += 1 ) {
808
812
verify ( mockedGetLockupMethod . callAsync ( objectContaining ( stringToBytes32 ( lockupNames [ i ] ) ) ) ) . once ( ) ;
809
813
}
810
814
} ) ;
0 commit comments