Skip to content

[Mailer] update mailer testing documentation #17727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

MrYamous
Copy link
Contributor

Comparable as #17719 to make MailerAssertionsTrait more visible
And minor update for example

@@ -1534,21 +1534,21 @@ Write a Functional Test
~~~~~~~~~~~~~~~~~~~~~~~

To functionally test that an email was sent, and even assert the email content or headers,
you can use the built in assertions::
you can use the built in assertions provided by :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
you can use the built in assertions provided by :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`.
you can use the built in assertions provided by the
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`.

you can use the built in assertions::
you can use the built in assertions provided by :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`.

See :ref:`testing documentation <mailer-assertions>` for the list of available assertions.::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
See :ref:`testing documentation <mailer-assertions>` for the list of available assertions.::
See :ref:`testing documentation <mailer-assertions>` for the list of available assertions::

@javiereguiluz
Copy link
Member

Thanks Matthieu ... and thanks Oskar for the review (I did your changes and some minor rewords while merging). Thanks!

@MrYamous MrYamous deleted the mailer/testing-mailer branch March 7, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants