@@ -209,7 +209,7 @@ public function testRunDetailViewIncludesWorkflowDeterminismDiagnostics(): void
209209 ]);
210210
211211 $ run = WorkflowRun::create ([
212- 'id ' => '01JTESTFLOWRUNDETERMINISM01 ' ,
212+ 'id ' => '01JTESTFLOWRUNDETERMINISM1 ' ,
213213 'workflow_instance_id ' => $ instance ->id ,
214214 'run_number ' => 1 ,
215215 'workflow_class ' => TestUnsafeDeterminismWorkflow::class,
@@ -263,7 +263,7 @@ public function testRunDetailViewFlagsDefinitionDriftBeforeLiveDeterminismFindin
263263 ]);
264264
265265 $ run = WorkflowRun::create ([
266- 'id ' => '01JTESTFLOWRUNDETERMINISM02 ' ,
266+ 'id ' => '01JTESTFLOWRUNDETERMINISM2 ' ,
267267 'workflow_instance_id ' => $ instance ->id ,
268268 'run_number ' => 1 ,
269269 'workflow_class ' => TestUnsafeDeterminismWorkflow::class,
@@ -283,7 +283,7 @@ public function testRunDetailViewFlagsDefinitionDriftBeforeLiveDeterminismFindin
283283 ]);
284284
285285 WorkflowHistoryEvent::create ([
286- 'id ' => '01JTESTHISTORYDETERMINISM0002 ' ,
286+ 'id ' => '01JTESTHISTORYDETERMINISM2 ' ,
287287 'workflow_run_id ' => $ run ->id ,
288288 'sequence ' => 1 ,
289289 'event_type ' => HistoryEventType::WorkflowStarted->value ,
@@ -541,7 +541,7 @@ public function testRunDetailAndHistoryExportSkipLinkedIntakeGroupingWithoutDura
541541 ]);
542542
543543 $ run = WorkflowRun::create ([
544- 'id ' => '01JTESTDETAILINTAKECOMPAT01 ' ,
544+ 'id ' => '01JTESTDETAILINTAKECOMPAT1 ' ,
545545 'workflow_instance_id ' => $ instance ->id ,
546546 'run_number ' => 1 ,
547547 'workflow_class ' => TestSignalWorkflow::class,
@@ -2120,7 +2120,7 @@ public function testRunDetailViewOmitsRawRequestContextForWebhookCommands(): voi
21202120 ]);
21212121
21222122 $ run = WorkflowRun::query ()->create ([
2123- 'id ' => '01JDETAILCOMMANDCONTEXT0001 ' ,
2123+ 'id ' => '01JDETAILCOMMANDCONTEXT001 ' ,
21242124 'workflow_instance_id ' => $ instance ->id ,
21252125 'run_number ' => 1 ,
21262126 'workflow_class ' => TestSignalWorkflow::class,
@@ -2138,7 +2138,7 @@ public function testRunDetailViewOmitsRawRequestContextForWebhookCommands(): voi
21382138 ]);
21392139
21402140 WorkflowCommand::query ()->create ([
2141- 'id ' => '01JDETAILCOMMANDCTXCOMMAND01 ' ,
2141+ 'id ' => '01JDETAILCOMMANDCTXCMD001 ' ,
21422142 'workflow_instance_id ' => $ instance ->id ,
21432143 'workflow_run_id ' => $ run ->id ,
21442144 'command_sequence ' => 1 ,
@@ -2327,7 +2327,7 @@ public function testRunDetailViewKeepsOpenChildWaitFromParentHistoryWhenChildRow
23272327 ]);
23282328
23292329 $ run = WorkflowRun::create ([
2330- 'id ' => '01JTESTRUNDETAILCHILDAUTH01 ' ,
2330+ 'id ' => '01JTESTRUNDETAILCHILDAUTH1 ' ,
23312331 'workflow_instance_id ' => $ parentInstance ->id ,
23322332 'run_number ' => 1 ,
23332333 'workflow_class ' => TestParentWaitingOnChildWorkflow::class,
@@ -2343,7 +2343,7 @@ public function testRunDetailViewKeepsOpenChildWaitFromParentHistoryWhenChildRow
23432343 ]);
23442344
23452345 $ childRun = WorkflowRun::create ([
2346- 'id ' => '01JTESTRUNDETAILCHILDAUTH02 ' ,
2346+ 'id ' => '01JTESTRUNDETAILCHILDAUTH2 ' ,
23472347 'workflow_instance_id ' => $ childInstance ->id ,
23482348 'run_number ' => 1 ,
23492349 'workflow_class ' => TestTimerWorkflow::class,
@@ -2372,7 +2372,7 @@ public function testRunDetailViewKeepsOpenChildWaitFromParentHistoryWhenChildRow
23722372 ]);
23732373
23742374 $ link = WorkflowLink::create ([
2375- 'id ' => '01JTESTRUNDETAILCHILDLINK01 ' ,
2375+ 'id ' => '01JTESTRUNDETAILCHILDLINK1 ' ,
23762376 'link_type ' => 'child_workflow ' ,
23772377 'sequence ' => 1 ,
23782378 'parent_workflow_instance_id ' => $ parentInstance ->id ,
@@ -2387,7 +2387,7 @@ public function testRunDetailViewKeepsOpenChildWaitFromParentHistoryWhenChildRow
23872387 ]);
23882388
23892389 WorkflowHistoryEvent::create ([
2390- 'id ' => '01JTESTRUNDETAILCHILDEVENT1 ' ,
2390+ 'id ' => '01JTESTRUNDETAILCHILDEVNT1 ' ,
23912391 'workflow_run_id ' => $ run ->id ,
23922392 'sequence ' => 1 ,
23932393 'event_type ' => HistoryEventType::ChildWorkflowScheduled->value ,
@@ -2673,7 +2673,7 @@ public function testRunDetailViewExposesNestedParallelActivityPathsForOpenWaits(
26732673 $ this ->assertCount (3 , $ activityWaits );
26742674
26752675 $ this ->assertSame ('parallel-activities:1:3 ' , $ activityWaits [0 ]['parallel_group_id ' ]);
2676- $ this ->assertSame ([
2676+ $ this ->assertSameJsonObject ([
26772677 [
26782678 'parallel_group_id ' => 'parallel-activities:1:3 ' ,
26792679 'parallel_group_kind ' => 'activity ' ,
@@ -2684,7 +2684,7 @@ public function testRunDetailViewExposesNestedParallelActivityPathsForOpenWaits(
26842684 ], $ activityWaits [0 ]['parallel_group_path ' ]);
26852685
26862686 $ this ->assertSame ('parallel-activities:2:2 ' , $ activityWaits [1 ]['parallel_group_id ' ]);
2687- $ this ->assertSame ([
2687+ $ this ->assertSameJsonObject ([
26882688 [
26892689 'parallel_group_id ' => 'parallel-activities:1:3 ' ,
26902690 'parallel_group_kind ' => 'activity ' ,
@@ -2702,7 +2702,7 @@ public function testRunDetailViewExposesNestedParallelActivityPathsForOpenWaits(
27022702 ], $ activityWaits [1 ]['parallel_group_path ' ]);
27032703
27042704 $ this ->assertSame ('parallel-activities:2:2 ' , $ activityWaits [2 ]['parallel_group_id ' ]);
2705- $ this ->assertSame ([
2705+ $ this ->assertSameJsonObject ([
27062706 [
27072707 'parallel_group_id ' => 'parallel-activities:1:3 ' ,
27082708 'parallel_group_kind ' => 'activity ' ,
@@ -3690,8 +3690,8 @@ public function testRunDetailViewRebuildsActivityAttemptsFromTypedHistoryWhenAtt
36903690 $ heartbeatAt ->toJSON (),
36913691 $ detail ['activities ' ][0 ]['attempts ' ][1 ]['last_heartbeat_at ' ]?->toJSON()
36923692 );
3693- $ this ->assertSame ($ progress , $ detail ['activities ' ][0 ]['last_heartbeat_progress ' ]);
3694- $ this ->assertSame ($ progress , $ detail ['activities ' ][0 ]['attempts ' ][1 ]['last_heartbeat_progress ' ]);
3693+ $ this ->assertSameJsonObject ($ progress , $ detail ['activities ' ][0 ]['last_heartbeat_progress ' ]);
3694+ $ this ->assertSameJsonObject ($ progress , $ detail ['activities ' ][0 ]['attempts ' ][1 ]['last_heartbeat_progress ' ]);
36953695 $ this ->assertSame (
36963696 $ leaseExpiresAt ->toJSON (),
36973697 $ detail ['activities ' ][0 ]['attempts ' ][1 ]['lease_expires_at ' ]?->toJSON()
@@ -3706,7 +3706,7 @@ public function testRunDetailViewRebuildsActivityAttemptsFromTypedHistoryWhenAtt
37063706 ],
37073707 array_column ($ detail ['timeline ' ], 'type ' )
37083708 );
3709- $ this ->assertSame ($ progress , $ detail ['timeline ' ][4 ]['activity ' ]['last_heartbeat_progress ' ]);
3709+ $ this ->assertSameJsonObject ($ progress , $ detail ['timeline ' ][4 ]['activity ' ]['last_heartbeat_progress ' ]);
37103710 $ this ->assertNull ($ this ->findTaskOrNull ($ detail ['tasks ' ], 'activity ' ));
37113711 }
37123712
0 commit comments