Skip to content

Commit 03c850f

Browse files
committed
[Mailer] Add new email testing functions (fixes #50200)
1 parent 821541e commit 03c850f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,9 @@ Mailer Assertions
10961096
Asserts that the given address header equals the expected e-mail
10971097
address. This assertion normalizes addresses like ``Jane Smith
10981098
<jane@example.com>`` into ``jane@example.com``.
1099+
``assertEmailSubjectContains(RawMessage $email, string $expectedValue, string $message = '')``/``assertEmailSubjectNotContains(RawMessage $email, string $expectedValue, string $message = '')``
1100+
Asserts that the subject of the given email does (not) contain the
1101+
expected subject.
10991102

11001103
.. TODO
11011104
.. End to End Tests (E2E)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy