Skip to content

Commit b0e0054

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

messenger.rst

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

963+
.. note::
964+
965+
All ``in-memory`` transports will be reset automatically after each test **in** test classes extending
966+
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
967+
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
968+
963969
Serializing Messages
964970
~~~~~~~~~~~~~~~~~~~~
965971

0 commit comments

Comments
 (0)