Skip to content

Commit e4b9ddb

Browse files
committed
test: Update unit test
1 parent 8861fb7 commit e4b9ddb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Workflow/WorkflowInfo.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ final class WorkflowInfo
105105
#[Marshal(name: 'ParentWorkflowNamespace')]
106106
public ?string $parentNamespace = null;
107107

108+
/**
109+
* @since SDK 2.16.0
110+
*/
108111
#[Marshal(name: 'RootWorkflowExecution', type: NullableType::class, of: WorkflowExecution::class)]
109112
public ?WorkflowExecution $rootExecution = null;
110113

tests/Unit/DTO/WorkflowInfoTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function testMarshalling(): void
4242
'CronSchedule' => null,
4343
'ContinuedExecutionRunID' => null,
4444
'ParentWorkflowNamespace' => null,
45+
'RootWorkflowExecution' => null,
4546
'ParentWorkflowExecution' => null,
4647
'SearchAttributes' => null,
4748
'TypedSearchAttributes' => [],

0 commit comments

Comments
 (0)