Skip to content

Commit 1a05ca8

Browse files
committed
fixes
1 parent 7709fdf commit 1a05ca8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/Symfony/tests/phpunit/SymfonyMessengerFinalFailureStrategyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ public function test_resend_failure_strategy_rejects_message_on_exception()
4747
{
4848
$channelName = 'messenger_async';
4949

50-
// Boot in dev environment to have Messenger transport configured
5150
$ecotoneTestSupport = EcotoneLite::bootstrapFlowTesting(
5251
[MessengerAsyncCommandHandler::class],
53-
$this->bootKernel(['environment' => 'dev'])->getContainer(),
52+
$this->bootKernel()->getContainer(),
5453
ServiceConfiguration::createWithAsynchronicityOnly()
5554
->withExtensionObjects([
5655
SymfonyMessengerMessageChannelBuilder::create($channelName)

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
</coverage>
3232
<php>
3333
<server name="KERNEL_CLASS" value="Ecotone\SymfonyBundle\App\Kernel" />
34+
<env name="APP_ENV" value="test" force="true" />
3435
<server name="APP_SECRET" value="test" />
3536
<ini name="memory_limit" value="384M" />
3637
</php>

0 commit comments

Comments
 (0)