Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase#35534

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromadrienfr:mailer-kerneltestcase-phpunit
Feb 4, 2020
Merged

[FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase#35534

fabpot merged 1 commit intosymfony:masterfromadrienfr:mailer-kerneltestcase-phpunit
Feb 4, 2020

Conversation

adrienfr
Copy link
Contributor

@adrienfradrienfr commentedJan 31, 2020
edited
Loading

QA
Branch?4.4+
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#35510
LicenseMIT
Doc PR

Since 4.4, we have new PHPUnit constraints for the mailer component, but these are only available withWebTestCase and notKernelTestCase. I think this would be useful to access these constraints from both TestCase.

I don't know if I should move thesetests or add new ones only forKernelTestCase?

onEXHovia and kevin-verschaeve reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@adrienfr.

fabpot added a commit that referenced this pull requestFeb 4, 2020
…estCase (adrienfr)This PR was merged into the 5.1-dev branch.Discussion----------[FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase| Q             | A| ------------- | ---| Branch?       | 4.4+| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#35510| License       | MIT| Doc PR        |Since 4.4, we have new PHPUnit constraints for the mailer component, but these are only available with `WebTestCase` and not `KernelTestCase`. I think this would be useful to access these constraints from both TestCase.I don't know if I should move these [tests](https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php) or add new ones only for `KernelTestCase`?Commits-------1b1ab29 [FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase
@fabpotfabpot merged commit1b1ab29 intosymfony:masterFeb 4, 2020
@nicolas-grekasnicolas-grekas modified the milestones:next,5.1May 4, 2020
@fabpotfabpot mentioned this pull requestMay 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
5.1
Development

Successfully merging this pull request may close these issues.

[Mailer] Add a MailerAssertionsTrait in KernelTestCase
4 participants
@adrienfr@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp