diff options
Diffstat (limited to 'vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php')
| -rw-r--r-- | vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php b/vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php index 394e7ed7c6..46dcee2162 100644 --- a/vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php +++ b/vendor/symfony/http-kernel/Tests/Bundle/BundleTest.php @@ -29,11 +29,12 @@ class BundleTest extends TestCase } /** - * @expectedException \LogicException - * @expectedExceptionMessage must implement Symfony\Component\DependencyInjection\Extension\ExtensionInterface + * @group legacy */ public function testGetContainerExtensionWithInvalidClass() { + $this->expectException('LogicException'); + $this->expectExceptionMessage('must implement Symfony\Component\DependencyInjection\Extension\ExtensionInterface'); $bundle = new ExtensionNotValidBundle(); $bundle->getContainerExtension(); } |
