[Serializer] Fix Groups tests.

This commit is contained in:
Kévin Dunglas 2015-07-03 14:43:05 +02:00
parent 2217c1faec
commit 2bd8fb8f97

View File

@ -19,7 +19,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
class GroupsTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \InvalidArgumentException
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
*/
public function testEmptyGroupsParameter()
{
@ -27,7 +27,7 @@ class GroupsTest extends \PHPUnit_Framework_TestCase
}
/**
* @expectedException \InvalidArgumentException
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
*/
public function testNotAnArrayGroupsParameter()
{
@ -35,7 +35,7 @@ class GroupsTest extends \PHPUnit_Framework_TestCase
}
/**
* @expectedException \InvalidArgumentException
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
*/
public function testInvalidGroupsParameter()
{