@@ -416,6 +416,10 @@ public function testDynamicBatchCanBeAddedToChain()
416416 $ this ->assertEquals (
417417 ['c1 ' , 'c2 ' , 'b1 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'c3 ' ], JobRunRecorder::$ results
418418 );
419+ } else {
420+ $ this ->assertEquals (
421+ ['c1 ' , 'c2 ' , 'b1 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'c3 ' ], JobRunRecorder::$ results
422+ );
419423 }
420424
421425 $ this ->assertCount (11 , JobRunRecorder::$ results );
@@ -445,6 +449,10 @@ public function testChainBatchChain()
445449 $ this ->assertEquals (
446450 ['c1 ' , 'c2 ' , 'bc1 ' , 'bc2 ' , 'b1 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'c3 ' ], JobRunRecorder::$ results
447451 );
452+ } else {
453+ $ this ->assertEquals (
454+ ['c1 ' , 'c2 ' , 'bc1 ' , 'b1 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'bc2 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'c3 ' ], JobRunRecorder::$ results
455+ );
448456 }
449457
450458 $ this ->assertCount (13 , JobRunRecorder::$ results );
@@ -478,6 +486,10 @@ public function testChainBatchChainBatch()
478486 $ this ->assertEquals (
479487 ['c1 ' , 'c2 ' , 'bc1 ' , 'bc2 ' , 'bb1 ' , 'bb2 ' , 'b1 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'c3 ' ], JobRunRecorder::$ results
480488 );
489+ } else {
490+ $ this ->assertEquals (
491+ ['c1 ' , 'c2 ' , 'bc1 ' , 'b1 ' , 'b2 ' , 'b3 ' , 'b4 ' , 'bc2 ' , 'b2-0 ' , 'b2-1 ' , 'b2-2 ' , 'b2-3 ' , 'bb1 ' , 'bb2 ' , 'c3 ' ], JobRunRecorder::$ results
492+ );
481493 }
482494
483495 $ this ->assertCount (15 , JobRunRecorder::$ results );
0 commit comments