Skip to content

Commit 14c076f

Browse files
Use JSON-key-order-agnostic assertion on signal-wait task payload
MySQL JSON column key ordering hit `workflow_tasks.payload` for the signal-application task. Literal-array assertSame was comparing keys in source-code order; MySQL stores them in its own internal order. Swap to assertSameJsonObject — same pattern as the other #399 JSON ordering fixes. Clears 1 MySQL failure under #399: * testWorkflowCanWaitForSignalAndResumeAfterSignalCommand Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 53700ab commit 14c076f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Feature/V2/V2WorkflowTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4452,7 +4452,7 @@ public function testWorkflowCanWaitForSignalAndResumeAfterSignalCommand(): void
44524452
->where('status', TaskStatus::Ready->value)
44534453
->sole();
44544454

4455-
$this->assertSame([
4455+
$this->assertSameJsonObject([
44564456
'workflow_wait_kind' => 'signal',
44574457
'open_wait_id' => 'signal-application:' . $signal->id,
44584458
'resume_source_kind' => 'workflow_signal',

0 commit comments

Comments
 (0)