File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function testRenderWhenRendererDoesNotExist()
42
42
}
43
43
44
44
/**
45
- * @expectedException InvalidArgumentException
45
+ * @expectedException \ InvalidArgumentException
46
46
*/
47
47
public function testRenderWithUnknownRenderer ()
48
48
{
@@ -52,7 +52,7 @@ public function testRenderWithUnknownRenderer()
52
52
}
53
53
54
54
/**
55
- * @expectedException RuntimeException
55
+ * @expectedException \ RuntimeException
56
56
* @expectedExceptionMessage Error when rendering "http://localhost/" (Status code is 404).
57
57
*/
58
58
public function testDeliverWithUnsuccessfulResponse ()
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public function testProcessEscapesPhpTags()
126
126
}
127
127
128
128
/**
129
- * @expectedException RuntimeException
129
+ * @expectedException \ RuntimeException
130
130
*/
131
131
public function testProcessWhenNoSrcInAnEsi ()
132
132
{
@@ -166,7 +166,7 @@ public function testHandle()
166
166
}
167
167
168
168
/**
169
- * @expectedException RuntimeException
169
+ * @expectedException \ RuntimeException
170
170
*/
171
171
public function testHandleWhenResponseIsNot200 ()
172
172
{
Original file line number Diff line number Diff line change 24
24
class HttpKernelTest extends \PHPUnit_Framework_TestCase
25
25
{
26
26
/**
27
- * @expectedException RuntimeException
27
+ * @expectedException \ RuntimeException
28
28
*/
29
29
public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue ()
30
30
{
@@ -34,7 +34,7 @@ public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue()
34
34
}
35
35
36
36
/**
37
- * @expectedException RuntimeException
37
+ * @expectedException \ RuntimeException
38
38
*/
39
39
public function testHandleWhenControllerThrowsAnExceptionAndRawIsFalseAndNoListenerIsRegistered ()
40
40
{
@@ -136,7 +136,7 @@ public function testHandleWhenNoControllerIsFound()
136
136
}
137
137
138
138
/**
139
- * @expectedException LogicException
139
+ * @expectedException \ LogicException
140
140
*/
141
141
public function testHandleWhenTheControllerIsNotACallable ()
142
142
{
@@ -188,7 +188,7 @@ public function testHandleWhenTheControllerIsAStaticArray()
188
188
}
189
189
190
190
/**
191
- * @expectedException LogicException
191
+ * @expectedException \ LogicException
192
192
*/
193
193
public function testHandleWhenTheControllerDoesNotReturnAResponse ()
194
194
{
You can’t perform that action at this time.
0 commit comments