[DI] Fix expectedException annotation
This commit is contained in:
parent
fba0638568
commit
663bd74d9f
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user