Skip to content

Commit ed4825d

Browse files
committed
[Mailer] Add new email testing functions (fixes #50200)
1 parent b212cbb commit ed4825d

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
@@ -1035,6 +1035,9 @@ Mailer Assertions
10351035
Asserts that the given address header equals the expected e-mail
10361036
address. This assertion normalizes addresses like ``Jane Smith
10371037
<jane@example.com>`` into ``jane@example.com``.
1038+
``assertEmailSubjectContains(RawMessage $email, string $expectedValue, string $message = '')``/``assertEmailSubjectNotContains(RawMessage $email, string $expectedValue, string $message = '')``
1039+
Asserts that the subject of the given email does (not) contain the
1040+
expected subject.
10381041

10391042
Notifier Assertions
10401043
...................

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