Skip to content

Commit 8921f17

Browse files
committed
Fix the Messenger config in E2E tests
1 parent 0f08ca1 commit 8921f17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/End2End/App/messenger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ framework:
2626
retry_strategy:
2727
max_retries: 1
2828
routing:
29-
'\Sentry\SentryBundle\Tests\End2End\App\Messenger\FooMessage': async
30-
'\Sentry\SentryBundle\Tests\End2End\App\Messenger\SyncMessage': sync
29+
Sentry\SentryBundle\Tests\End2End\App\Messenger\FooMessage: async
30+
Sentry\SentryBundle\Tests\End2End\App\Messenger\SyncMessage: sync
3131

3232
sentry:
3333
messenger:

tests/End2End/End2EndTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function testMessengerSyncDispatchUnwrapsErrors(): void
239239
$response = $client->getResponse();
240240

241241
$this->assertInstanceOf(Response::class, $response);
242-
$this->assertSame(200, $response->getStatusCode());
242+
$this->assertSame(500, $response->getStatusCode());
243243

244244
$this->assertLastEventIdIsNull($client);
245245
}

0 commit comments

Comments
 (0)