Closed bendavies closed 3 months ago
Hmm, in your test env, could you create a dummy/unused transport that uses doctrine?
ahh ok, a single one NOT using test://
?
ok i'll try that!
a single one NOT using test://?
yep, exactly!
that'll work! thank
Hi,
In CI, we run
to ensure that our schema in sync with the database. However this produced
DROP TABLE messenger_messages
when using this bundle because this check fails, as the transport is actuallyZenstruck\Messenger\Test\Transport\TestTransport
https://github.com/symfony/symfony/blob/9b323c6866078f1bc761d7cc34297c41815108d3/src/Symfony/Bridge/Doctrine/SchemaListener/MessengerTransportDoctrineSchemaListener.php#L39
Is there a way to fix this, apart from running with
APP_ENV=prod
instead?Thans!