Skip to content

Commit 31dda76

Browse files
committed
test: compare V2 overlap boundary through completion
1 parent bd35600 commit 31dda76

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/Unit/V2/LegacyOverlapOptionsBoundaryTest.php‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public function testLegacyDelayDoesNotChangeV2ArgumentsRoutingOrPortableShape(st
6363
$this->assertSame('legacy-boundary', $run->queue);
6464
$this->assertSame($run->connection, $task->connection);
6565
$this->assertSame($run->queue, $task->queue);
66+
$this->assertTrue(app(DefaultWorkflowTaskBridge::class)->execute($task->id)['executed']);
67+
$this->assertSame('argument', WorkflowStub::load($run->workflow_instance_id)->output());
68+
$task->refresh();
6669
$history = $run->historyEvents()
6770
->orderBy('sequence')
6871
->get();
@@ -76,8 +79,6 @@ public function testLegacyDelayDoesNotChangeV2ArgumentsRoutingOrPortableShape(st
7679
$this->shape($event->payload),
7780
])->all(),
7881
];
79-
$this->assertTrue(app(DefaultWorkflowTaskBridge::class)->execute($task->id)['executed']);
80-
$this->assertSame('argument', WorkflowStub::load($run->workflow_instance_id)->output());
8182
}
8283
$this->assertSame($snapshots[0], $snapshots[1]);
8384
}

0 commit comments

Comments
 (0)