@@ -379,41 +379,6 @@ func TestStartBatchFail(t *testing.T) {
379379 assert .EqualError (t , err , "pop" )
380380}
381381
382- func TestStartTokensFail (t * testing.T ) {
383- coreconfig .Reset ()
384- or := newTestOrchestrator ()
385- defer or .cleanup (t )
386- or .mdi .On ("GetNamespace" , mock .Anything , "ns" ).Return (nil , nil )
387- or .mdi .On ("UpsertNamespace" , mock .Anything , mock .Anything , true ).Return (nil )
388- or .mmp .On ("ConfigureContract" , mock .Anything , & core.FireFlyContracts {}).Return (nil )
389- or .mbi .On ("Start" ).Return (nil )
390- or .mba .On ("Start" ).Return (nil )
391- or .mem .On ("Start" ).Return (nil )
392- or .mbm .On ("Start" ).Return (nil )
393- or .mpm .On ("Start" ).Return (nil )
394- or .msd .On ("Start" ).Return (nil )
395- or .mom .On ("Start" ).Return (nil )
396- or .mti .On ("Start" ).Return (fmt .Errorf ("pop" ))
397- err := or .Start ()
398- assert .EqualError (t , err , "pop" )
399- }
400-
401- func TestStartBlockchainsFail (t * testing.T ) {
402- coreconfig .Reset ()
403- or := newTestOrchestrator ()
404- defer or .cleanup (t )
405- or .mdi .On ("GetNamespace" , mock .Anything , "ns" ).Return (nil , nil )
406- or .mdi .On ("UpsertNamespace" , mock .Anything , mock .Anything , true ).Return (nil )
407- or .mmp .On ("ConfigureContract" , mock .Anything , & core.FireFlyContracts {}).Return (nil )
408- or .mbm .On ("Start" ).Return (nil )
409- or .mpm .On ("Start" ).Return (nil )
410- or .mba .On ("Start" ).Return (nil )
411- or .msd .On ("Start" ).Return (nil )
412- or .mbi .On ("Start" ).Return (fmt .Errorf ("pop" ))
413- err := or .Start ()
414- assert .EqualError (t , err , "pop" )
415- }
416-
417382func TestStartBlockchainsConfigureFail (t * testing.T ) {
418383 coreconfig .Reset ()
419384 or := newTestOrchestrator ()
@@ -431,12 +396,9 @@ func TestStartStopOk(t *testing.T) {
431396 or .mdi .On ("GetNamespace" , mock .Anything , "ns" ).Return (nil , nil )
432397 or .mdi .On ("UpsertNamespace" , mock .Anything , mock .Anything , true ).Return (nil )
433398 or .mmp .On ("ConfigureContract" , mock .Anything , & core.FireFlyContracts {}).Return (nil )
434- or .mbi .On ("Start" ).Return (nil )
435399 or .mba .On ("Start" ).Return (nil )
436400 or .mem .On ("Start" ).Return (nil )
437401 or .mbm .On ("Start" ).Return (nil )
438- or .mpm .On ("Start" ).Return (nil )
439- or .mti .On ("Start" ).Return (nil )
440402 or .msd .On ("Start" ).Return (nil )
441403 or .mom .On ("Start" ).Return (nil )
442404 or .mba .On ("WaitStop" ).Return (nil )
0 commit comments