Skip to content

Commit 3b0eb6b

Browse files
committed
Merge branch '4.4'
* 4.4: another fix to make amqp messages go to a separate queue Mentioned the new mailer assert methods for tests
2 parents 4774869 + 59525bc commit 3b0eb6b

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

messenger.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,11 @@ different messages to them. For example:
498498
# queue_name is specific to the doctrine transport
499499
queue_name: high
500500
501-
# for amqp
501+
# for amqp send to a separate exchange then queue
502502
#exchange:
503503
# name: high
504+
#queues:
505+
# messages_high: ~
504506
# or redis try "group"
505507
async_priority_low:
506508
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'

testing/functional_tests_assertions.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,22 @@ Crawler
7272
- ``assertInputValueSame()``
7373
- ``assertInputValueNotSame()``
7474

75+
Mailer
76+
~~~~~~
77+
78+
- ``assertEmailCount()``
79+
- ``assertQueuedEmailCount()``
80+
- ``assertEmailIsQueued()``
81+
- ``assertEmailIsNotQueued()``
82+
- ``assertEmailAttachementCount()``
83+
- ``assertEmailTextBodyContains()``
84+
- ``assertEmailTextBodyNotContains()``
85+
- ``assertEmailHtmlBodyContains()``
86+
- ``assertEmailHtmlBodyNotContains()``
87+
- ``assertEmailHasHeader()``
88+
- ``assertEmailNotHasHeader()``
89+
- ``assertEmailHeaderSame()``
90+
- ``assertEmailHeaderNotSame()``
91+
- ``assertEmailAddressContains()``
92+
7593
.. _`symfony/panther`: https://github.com/symfony/panther

0 commit comments

Comments
 (0)