Skip to content

Commit 82e6927

Browse files
author
smoench
committed
[Messenger] Adds a note InMemoryTransports will be reset in tests
1 parent ab38cf3 commit 82e6927

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,11 @@ during a request::
960960
}
961961
}
962962

963+
.. note::
964+
965+
All ``in-memory`` transports will be reset automatically after each test method
966+
which test class is based on the ``Symfony\Bundle\FrameworkBundle\Test\KernelTestCase``.
967+
963968
Serializing Messages
964969
~~~~~~~~~~~~~~~~~~~~
965970

0 commit comments

Comments
 (0)