Skip to content

Commit f095131

Browse files
committed
Merge branch '4.4'
* 4.4: [Messenger] Adds a note InMemoryTransports will be reset in tests
2 parents 423c57f + d60f859 commit f095131

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
@@ -947,6 +947,13 @@ during a request::
947947
}
948948
}
949949

950+
.. note::
951+
952+
All ``in-memory`` transports will be reset automatically after each test **in**
953+
test classes extending
954+
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
955+
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
956+
950957
Serializing Messages
951958
~~~~~~~~~~~~~~~~~~~~
952959

0 commit comments

Comments
 (0)