Fixed typos in the expectedException annotations

This commit is contained in:
Graham Campbell 2016-06-30 10:21:10 +01:00 committed by Fabien Potencier
parent 3ef96b9458
commit b36de36697
1 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,6 @@ namespace Symfony\Component\Asset\Tests;
use Symfony\Component\Asset\Package; use Symfony\Component\Asset\Package;
use Symfony\Component\Asset\Packages; use Symfony\Component\Asset\Packages;
use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy; use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
use Symfony\Component\Asset\Exception\InvalidArgumentException;
use Symfony\Component\Asset\Exception\LogicException;
class PackagesTest extends \PHPUnit_Framework_TestCase class PackagesTest extends \PHPUnit_Framework_TestCase
{ {
@ -57,7 +55,7 @@ class PackagesTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException LogicException * @expectedException \Symfony\Component\Asset\Exception\LogicException
*/ */
public function testNoDefaultPackage() public function testNoDefaultPackage()
{ {
@ -66,7 +64,7 @@ class PackagesTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @expectedException InvalidArgumentException * @expectedException \Symfony\Component\Asset\Exception\InvalidArgumentException
*/ */
public function testUndefinedPackage() public function testUndefinedPackage()
{ {