Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #30858 [Messenger] Setup the doctrine transport when consuming (v…
…incenttouzet) This PR was merged into the 4.3-dev branch. Discussion ---------- [Messenger] Setup the doctrine transport when consuming | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Currently there is an error when the table does not exists and we run the `messenger:consume` command. This is because all queries made in the `get` method of the `Connection` are in a transaction. Therefore the table is not created. To avoid this error I added a call to the `setup` method before starting the transaction. I needed to add the SchemaSynchronizer as construct parameter for the tests Commits ------- b2f3b53 [Messenger] Setup the doctrine transport when consuming
- Loading branch information
Showing
3 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters