minor #40670 [FrameworkBundle] fix test (xabbuh)

This PR was merged into the 5.2 branch.

Discussion
----------

[FrameworkBundle] fix test

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #40668
| License       | MIT
| Doc PR        |

Commits
-------

3de5b38cea fix test
This commit is contained in:
Nicolas Grekas 2021-04-01 12:16:51 +02:00
commit f9e38df065
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class MicroKernelTraitTest extends TestCase
};
$this->expectException(\LogicException::class);
$this->expectExceptionMessage('"Symfony\Bundle\FrameworkBundle\Tests\Kernel\MinimalKernel@anonymous" uses "Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait", but does not implement the required method "protected function configureContainer(ContainerConfigurator $c): void".');
$this->expectExceptionMessage('"Symfony\Bundle\FrameworkBundle\Tests\Kernel\MinimalKernel@anonymous" uses "Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait", but does not implement the required method "protected function configureContainer(ContainerConfigurator $container): void".');
$kernel->boot();
}