File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Bundle/DependencyInjection/Compiler Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function testGetResourceClassWithNoClassName()
48
48
}
49
49
50
50
/**
51
- * @expectedException \InvalidArgumentException
51
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
52
52
* @expectedExceptionMessage No resource class found
53
53
*/
54
54
public function testGetResourceClassWithWrongClassName ()
@@ -61,7 +61,7 @@ public function testGetResourceClassWithWrongClassName()
61
61
}
62
62
63
63
/**
64
- * @expectedException \InvalidArgumentException
64
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
65
65
* @expectedExceptionMessage No resource class found for object of type "ArrayIterator"
66
66
*/
67
67
public function testGetResourceClassWithNoResourceClassName ()
@@ -96,7 +96,7 @@ public function testIsResourceClassWithWrongClassName()
96
96
}
97
97
98
98
/**
99
- * @expectedException \InvalidArgumentException
99
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
100
100
* @expectedExceptionMessage No resource class found.
101
101
*/
102
102
public function testGetResourceClassWithNoResourceClassNameAndNoObject ()
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ public function testDenormalizeItemWithExistingGroups()
274
274
}
275
275
276
276
/**
277
- * @expectedException \RuntimeException
277
+ * @expectedException \ApiPlatform\Core\Exception\ RuntimeException
278
278
* @expectedExceptionMessage The total number of joined relations has exceeded the specified maximum. Raise the limit if necessary.
279
279
*/
280
280
public function testMaxDepthReached ()
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function testProcess()
41
41
}
42
42
43
43
/**
44
- * @expectedException \RuntimeException
44
+ * @expectedException \ApiPlatform\Core\Exception\ RuntimeException
45
45
* @expectedExceptionMessage Filter tags must have an "id" property.
46
46
*/
47
47
public function testIdNotExist ()
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function testConstruct()
35
35
}
36
36
37
37
/**
38
- * @expectedException \InvalidArgumentException
38
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
39
39
* @expectedExceptionMessage No item route associated with the type "AppBundle\Entity\User".
40
40
*/
41
41
public function testGetRouteNameForItemRouteWithNoMatchingRoute ()
@@ -95,7 +95,7 @@ public function testGetRouteNameForItemRouteOnCacheHit()
95
95
}
96
96
97
97
/**
98
- * @expectedException \InvalidArgumentException
98
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
99
99
* @expectedExceptionMessage No collection route associated with the type "AppBundle\Entity\User".
100
100
*/
101
101
public function testGetRouteNameForCollectionRouteWithNoMatchingRoute ()
Original file line number Diff line number Diff line change 25
25
class IriConverterTest extends \PHPUnit_Framework_TestCase
26
26
{
27
27
/**
28
- * @expectedException \InvalidArgumentException
28
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
29
29
* @expectedExceptionMessage No route matches "/users/3".
30
30
*/
31
31
public function testGetItemFromIriNoRouteException ()
@@ -52,7 +52,7 @@ public function testGetItemFromIriNoRouteException()
52
52
}
53
53
54
54
/**
55
- * @expectedException \InvalidArgumentException
55
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
56
56
* @expectedExceptionMessage No resource associated to "/users/3".
57
57
*/
58
58
public function testGetItemFromIriNoResourceException ()
@@ -79,7 +79,7 @@ public function testGetItemFromIriNoResourceException()
79
79
}
80
80
81
81
/**
82
- * @expectedException \InvalidArgumentException
82
+ * @expectedException \ApiPlatform\Core\Exception\ InvalidArgumentException
83
83
* @expectedExceptionMessage Item not found for "/users/3".
84
84
*/
85
85
public function testGetItemFromIriItemNotFoundException ()
You can’t perform that action at this time.
0 commit comments