Skip to content

Commit

Permalink
Fix UntypedStubTest
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Jan 13, 2025
1 parent ba9fb1e commit 862ae25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Acceptance/Extra/Update/UntypedStubTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Temporal\Client\WorkflowClientInterface;
use Temporal\Client\WorkflowStubInterface;
use Temporal\Exception\Client\TimeoutException;
use Temporal\Exception\Client\UntypedStubException;
use Temporal\Exception\Client\WorkflowUpdateException;
use Temporal\Internal\Support\DateInterval;
use Temporal\Tests\Acceptance\App\Attribute\Stub;
use Temporal\Tests\Acceptance\App\TestCase;
Expand Down Expand Up @@ -88,7 +88,7 @@ public function handleUnknownUpdate(
try {
$stub->startUpdate('unknownUpdateMethod', '42');
$this->fail('Should throw exception');
} catch (UntypedStubException $e) {
} catch (WorkflowUpdateException $e) {
$this->assertStringContainsString(
'unknown update method unknownUpdateMethod',
$e->getPrevious()->getMessage(),
Expand Down

0 comments on commit 862ae25

Please sign in to comment.