Skip to content

Commit 771ea5b

Browse files
committed
minor #15193 [Serializer] Fix Groups tests. (dunglas)
This PR was merged into the 2.7 branch. Discussion ---------- [Serializer] Fix Groups tests. | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 2bd8fb8 [Serializer] Fix Groups tests.
2 parents 3cc8f76 + 498dff2 commit 771ea5b

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)