This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Fabien Potencier 626999c47f feature #35534 [FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase (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
-------

1b1ab2991a [FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase
2020-02-04 14:16:01 +01:00
..
CacheWarmer Fix CS 2020-02-04 10:32:40 +01:00
Command Merge branch '5.0' 2020-01-31 10:20:53 +01:00
Console Merge branch '3.4' into 4.3 2019-11-26 04:44:44 +01:00
Controller Merge branch '5.0' 2020-02-04 10:50:54 +01:00
DataCollector Remove \Throwable support deprecation layer 2019-11-08 10:00:49 +01:00
DependencyInjection [FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement 2020-02-04 14:13:19 +01:00
EventListener [FrameworkBundle] fixed suggesting deprecated WebServerBundle 2020-01-31 13:35:43 +01:00
HttpCache Merge branch '4.4' into 5.0 2020-01-10 22:57:37 +01:00
Kernel [HttpKernel] allow using public aliases to reference controllers 2020-02-02 17:43:53 +01:00
Resources [FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement 2020-02-04 14:13:19 +01:00
Routing [FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement 2020-02-04 14:13:19 +01:00
Secrets Do not throw exception on valut generate key 2019-12-24 14:11:19 +01:00
Test [FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase 2020-01-31 11:33:37 +01:00
Tests [FrameworkBundle] use framework.translator.enabled_locales to build routes' default "_locale" requirement 2020-02-04 14:13:19 +01:00
Translation [Translation] Introduce a way to configure the enabled locales 2020-02-04 10:57:06 +01:00
.gitattributes Add .gitignore to .gitattributes 2019-10-12 01:35:04 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase 2020-01-31 11:33:37 +01:00
composer.json feature #35514 [DI][Routing] add wither to configure the path of PHP-DSL configurators (nicolas-grekas) 2020-01-30 16:28:44 +01:00
FrameworkBundle.php Merge branch '4.4' 2019-11-12 10:25:44 +01:00
KernelBrowser.php Merge branch '4.4' 2019-09-10 19:00:13 +02:00
LICENSE Update year in license files 2020-01-01 12:03:25 +01:00
phpunit.xml.dist Merge branch '2.8' into 3.4 2018-11-11 20:48:54 +01:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00