Skip to content

Commit

Permalink
Fixed expectedException annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored and fabpot committed Sep 23, 2016
1 parent 4d392fe commit 43088d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Tests/UrlPackageTest.php
Expand Up @@ -14,8 +14,6 @@
use Symfony\Component\Asset\UrlPackage;
use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
use Symfony\Component\Asset\VersionStrategy\EmptyVersionStrategy;
use Symfony\Component\Asset\Exception\InvalidArgumentException;
use Symfony\Component\Asset\Exception\LogicException;

class UrlPackageTest extends \PHPUnit_Framework_TestCase
{
Expand Down Expand Up @@ -79,15 +77,15 @@ public function getContextConfigs()
}

/**
* @expectedException LogicException
* @expectedException \Symfony\Component\Asset\Exception\LogicException
*/
public function testNoBaseUrls()
{
new UrlPackage(array(), new EmptyVersionStrategy());
}

/**
* @expectedException InvalidArgumentException
* @expectedException \Symfony\Component\Asset\Exception\InvalidArgumentException
*/
public function testWrongBaseUrl()
{
Expand Down

0 comments on commit 43088d9

Please sign in to comment.