File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 428428 <code ><![CDATA[ $attr->getFailure()]]> </code >
429429 <code ><![CDATA[ $attr->getResult()]]> </code >
430430 <code ><![CDATA[ $input->workflowType]]> </code >
431- <code ><![CDATA[ $input->workflowType]]> </code >
432431 <code ><![CDATA[ $result->getQueryResult()]]> </code >
433432 <code ><![CDATA[ $this->execution]]> </code >
434433 <code ><![CDATA[ $this->execution]]> </code >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function __construct(
2525 public function mapUpdateWorkflowResponse (
2626 UpdateWorkflowExecutionResponse $ result ,
2727 string $ updateName ,
28- string $ workflowType ,
28+ ? string $ workflowType ,
2929 WorkflowExecution $ workflowExecution ,
3030 ): StartUpdateOutput {
3131 $ outcome = $ result ->getOutcome ();
Original file line number Diff line number Diff line change @@ -68,6 +68,19 @@ public function fetchResultWithTimeout(
6868 $ this ->assertSame (['key ' => null ], (array )$ result , 'Workflow result contains resolved value ' );
6969 }
7070
71+ #[Test]
72+ public function useClientRunningWorkflowStub (
73+ #[Stub('Extra_Update_UntypedStub ' )] WorkflowStubInterface $ stub ,
74+ WorkflowClientInterface $ client ,
75+ ): void {
76+ $ untyped = $ client ->newUntypedRunningWorkflowStub (
77+ $ stub ->getExecution ()->getID (),
78+ $ stub ->getExecution ()->getRunID (),
79+ );
80+
81+ $ this ->fetchResolvedResultAfterWorkflowCompleted ($ untyped );
82+ }
83+
7184 #[Test]
7285 public function handleUnknownUpdate (
7386 #[Stub('Extra_Update_UntypedStub ' )] WorkflowStubInterface $ stub ,
You can’t perform that action at this time.
0 commit comments