summaryrefslogtreecommitdiff
path: root/tests/temporal/Workflow/ExceptionalActivityWorkflow.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/temporal/Workflow/ExceptionalActivityWorkflow.php')
-rw-r--r--tests/temporal/Workflow/ExceptionalActivityWorkflow.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/temporal/Workflow/ExceptionalActivityWorkflow.php b/tests/temporal/Workflow/ExceptionalActivityWorkflow.php
deleted file mode 100644
index e0ed0005..00000000
--- a/tests/temporal/Workflow/ExceptionalActivityWorkflow.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-namespace Temporal\Tests\Workflow;
-
-use Temporal\Activity\ActivityOptions;
-use Temporal\Common\RetryOptions;
-use Temporal\Tests\Activity\SimpleActivity;
-use Temporal\Workflow;
-use Temporal\Workflow\WorkflowMethod;
-
-#[Workflow\WorkflowInterface]
-class ExceptionalActivityWorkflow
-{
- #[WorkflowMethod(name: 'ExceptionalActivityWorkflow')]
- public function handler()
- {
- $simple = Workflow::newActivityStub(
- SimpleActivity::class,
- ActivityOptions::new()->withStartToCloseTimeout(5)
- ->withRetryOptions((new RetryOptions())->withMaximumAttempts(1))
- );
-
- return yield $simple->fail();
- }
-}