Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75c3270

Browse files
committed
minor #18269 [Mailer] Add new email testing functions (johanadivare)
This PR was merged into the 6.4 branch. Discussion ---------- [Mailer] Add new email testing functions Refs symfony/symfony#50200 Commits ------- 1904ba2 [Mailer] Add new email testing functions (fixes #50200)
2 parents 9819c59 + 1904ba2 commit 75c3270

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
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)