Skip to content

Commit 4c14325

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

messenger.rst

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

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

0 commit comments

Comments
 (0)