Skip to content

Commit 498dff2

Browse files
committed
[Serializer] Fix Groups tests.
1 parent e419e3f commit 498dff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Annotation/GroupsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@
1919
class GroupsTest extends \PHPUnit_Framework_TestCase
2020
{
2121
/**
22-
* @expectedException \InvalidArgumentException
22+
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
2323
*/
2424
public function testEmptyGroupsParameter()
2525
{
2626
new Groups(array('value' => array()));
2727
}
2828

2929
/**
30-
* @expectedException \InvalidArgumentException
30+
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
3131
*/
3232
public function testNotAnArrayGroupsParameter()
3333
{
3434
new Groups(array('value' => 'coopTilleuls'));
3535
}
3636

3737
/**
38-
* @expectedException \InvalidArgumentException
38+
* @expectedException \Symfony\Component\Serializer\Exception\InvalidArgumentException
3939
*/
4040
public function testInvalidGroupsParameter()
4141
{

0 commit comments

Comments
 (0)