Skip to content

Commit

Permalink
Add reset message queues before scenario with zentruck/messenger-test
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiidonii committed Oct 20, 2024
1 parent af563da commit bf48975
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/MessengerContext/clear_transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,8 @@ We also support auto clear message queue with [zenstruck/messenger-test](https:/
async: test://
```

## Transport

You can interact with the test transports in your tests by using the
`InteractsWithMessenger` trait in your `KernelTestCase`/`WebTestCase` tests.
You can assert the different steps of message processing by asserting on the queue
and the different states of message processing like "acknowledged", "rejected" and so on.
More details you can see in [origin package repository](https://github.com/zenstruck/messenger-test)

> **Note**: If you only need to know if a message has been dispatched you can
> make assertions [on the bus itself](#bus).
> **Note**:Zentruck will be used automatically after installation.

More details you can see in [origin package repository](https://github.com/zenstruck/messenger-test)

Zentruck will be used automatically after installation.

0 comments on commit bf48975

Please sign in to comment.