[DI] Fix expectedException annotation

This commit is contained in:
Nicolas Grekas 2016-09-21 08:09:36 +02:00
parent fba0638568
commit 663bd74d9f

View File

@ -11,13 +11,12 @@
namespace Symfony\Component\DependencyInjection\Tests\ParameterBag;
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
class EnvPlaceholderParameterBagTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException InvalidArgumentException
* @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
*/
public function testGetThrowsInvalidArgumentExceptionIfEnvNameContainsNonWordCharacters()
{