Skip to content

Commit 9d893e1

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

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 **in** test classes based on the
966+
``Symfony\Bundle\FrameworkBundle\Test\KernelTestCase`` or ``Symfony\Bundle\FrameworkBundle\Test\WebTestCase``
967+
963968
Serializing Messages
964969
~~~~~~~~~~~~~~~~~~~~
965970

0 commit comments

Comments
 (0)