Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add installation step to add the bundle in the config #85

Merged
merged 2 commits into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ The transport also allows for processing these *queued* messages.
```bash
composer require --dev zenstruck/messenger-test
```
2. If not added automatically by Symfony Flex, add the bundle in `config/bundles.php`:

2. Update `config/packages/messenger.yaml` and override your transport(s)
```php
Zenstruck\Messenger\Test\ZenstruckMessengerTestBundle::class => ['test' => true],
```

3. Update `config/packages/messenger.yaml` and override your transport(s)
in your `test` environment with `test://`:

```yaml
Expand Down
Loading