Skip to content

Commit d60f859

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: [Messenger] Adds a note InMemoryTransports will be reset in tests
2 parents f39c079 + ad71eae commit d60f859

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

messenger.rst

+7
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,13 @@ during a request::
968968
}
969969
}
970970

971+
.. note::
972+
973+
All ``in-memory`` transports will be reset automatically after each test **in**
974+
test classes extending
975+
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
976+
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
977+
971978
Serializing Messages
972979
~~~~~~~~~~~~~~~~~~~~
973980

0 commit comments

Comments
 (0)