Skip to content

Commit

Permalink
Merge branch '4.4'
Browse files Browse the repository at this point in the history
* 4.4:
  another fix to make amqp messages go to a separate queue
  Mentioned the new mailer assert methods for tests
  • Loading branch information
javiereguiluz committed Sep 15, 2019
2 parents 4774869 + 59525bc commit 3b0eb6b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,11 @@ different messages to them. For example:
# queue_name is specific to the doctrine transport
queue_name: high
# for amqp
# for amqp send to a separate exchange then queue
#exchange:
# name: high
#queues:
# messages_high: ~
# or redis try "group"
async_priority_low:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
Expand Down
18 changes: 18 additions & 0 deletions testing/functional_tests_assertions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,22 @@ Crawler
- ``assertInputValueSame()``
- ``assertInputValueNotSame()``

Mailer
~~~~~~

- ``assertEmailCount()``
- ``assertQueuedEmailCount()``
- ``assertEmailIsQueued()``
- ``assertEmailIsNotQueued()``
- ``assertEmailAttachementCount()``
- ``assertEmailTextBodyContains()``
- ``assertEmailTextBodyNotContains()``
- ``assertEmailHtmlBodyContains()``
- ``assertEmailHtmlBodyNotContains()``
- ``assertEmailHasHeader()``
- ``assertEmailNotHasHeader()``
- ``assertEmailHeaderSame()``
- ``assertEmailHeaderNotSame()``
- ``assertEmailAddressContains()``

.. _`symfony/panther`: https://github.com/symfony/panther

0 comments on commit 3b0eb6b

Please sign in to comment.