@@ -330,7 +330,7 @@ public void RecoverWalletSuccessfullyReturnsWalletModel()
330330 } ;
331331
332332 var mockWalletManager = new Mock < IWalletManager > ( ) ;
333- mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , true ) ) . Returns ( wallet ) ;
333+ mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , null ) ) . Returns ( wallet ) ;
334334
335335 Mock < IWalletSyncManager > walletSyncManager = new Mock < IWalletSyncManager > ( ) ;
336336 walletSyncManager . Setup ( w => w . WalletTip ) . Returns ( new ChainedHeader ( this . Network . GetGenesis ( ) . Header , this . Network . GetGenesis ( ) . Header . GetHash ( ) , 3 ) ) ;
@@ -368,7 +368,7 @@ public void RecoverWalletWithDatedAfterCurrentSyncHeightDoesNotMoveSyncHeight()
368368 DateTime lastBlockDateTime = chainIndexer . Tip . Header . BlockTime . DateTime ;
369369
370370 var mockWalletManager = new Mock < IWalletManager > ( ) ;
371- mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , true ) ) . Returns ( wallet ) ;
371+ mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , null ) ) . Returns ( wallet ) ;
372372
373373 Mock < IWalletSyncManager > walletSyncManager = new Mock < IWalletSyncManager > ( ) ;
374374 walletSyncManager . Setup ( w => w . WalletTip ) . Returns ( new ChainedHeader ( this . Network . GetGenesis ( ) . Header , this . Network . GetGenesis ( ) . Header . GetHash ( ) , 3 ) ) ;
@@ -419,7 +419,7 @@ public void RecoverWalletWithInvalidOperationExceptionReturnsConflict()
419419 {
420420 string errorMessage = "An error occurred." ;
421421 var mockWalletManager = new Mock < IWalletManager > ( ) ;
422- mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , true ) )
422+ mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , null ) )
423423 . Throws ( new WalletException ( errorMessage ) ) ;
424424
425425 var controller = new WalletController ( this . LoggerFactory . Object , mockWalletManager . Object , new Mock < IWalletTransactionHandler > ( ) . Object , new Mock < IWalletSyncManager > ( ) . Object , It . IsAny < ConnectionManager > ( ) , this . Network , this . chainIndexer , new Mock < IBroadcasterManager > ( ) . Object , DateTimeProvider . Default ) ;
@@ -445,7 +445,7 @@ public void RecoverWalletWithInvalidOperationExceptionReturnsConflict()
445445 public void RecoverWalletWithFileNotFoundExceptionReturnsNotFound ( )
446446 {
447447 var mockWalletManager = new Mock < IWalletManager > ( ) ;
448- mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , true ) )
448+ mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , null ) )
449449 . Throws ( new FileNotFoundException ( "File not found." ) ) ;
450450
451451 var controller = new WalletController ( this . LoggerFactory . Object , mockWalletManager . Object , new Mock < IWalletTransactionHandler > ( ) . Object , new Mock < IWalletSyncManager > ( ) . Object , It . IsAny < ConnectionManager > ( ) , this . Network , this . chainIndexer , new Mock < IBroadcasterManager > ( ) . Object , DateTimeProvider . Default ) ;
@@ -472,7 +472,7 @@ public void RecoverWalletWithFileNotFoundExceptionReturnsNotFound()
472472 public void RecoverWalletWithExceptionReturnsBadRequest ( )
473473 {
474474 var mockWalletManager = new Mock < IWalletManager > ( ) ;
475- mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , true ) )
475+ mockWalletManager . Setup ( w => w . RecoverWallet ( It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < string > ( ) , It . IsAny < DateTime > ( ) , null , null , null ) )
476476 . Throws ( new FormatException ( "Formatting failed." ) ) ;
477477
478478 var controller = new WalletController ( this . LoggerFactory . Object , mockWalletManager . Object , new Mock < IWalletTransactionHandler > ( ) . Object , new Mock < IWalletSyncManager > ( ) . Object , It . IsAny < ConnectionManager > ( ) , this . Network , this . chainIndexer , new Mock < IBroadcasterManager > ( ) . Object , DateTimeProvider . Default ) ;
0 commit comments