Skip to content

Commit 46aa5b5

Browse files
committed
Merge branch '2.2' into 2.3
* 2.2: fixed some typos fixed @ExpectedException class names Conflicts: src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php src/Symfony/Component/Console/Tests/Command/CommandTest.php src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php
2 parents ebf60dd + a39d1f9 commit 46aa5b5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Tests/Fragment/FragmentHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function testRenderWhenRendererDoesNotExist()
2727
}
2828

2929
/**
30-
* @expectedException InvalidArgumentException
30+
* @expectedException \InvalidArgumentException
3131
*/
3232
public function testRenderWithUnknownRenderer()
3333
{
@@ -37,7 +37,7 @@ public function testRenderWithUnknownRenderer()
3737
}
3838

3939
/**
40-
* @expectedException RuntimeException
40+
* @expectedException \RuntimeException
4141
* @expectedExceptionMessage Error when rendering "http://localhost/" (Status code is 404).
4242
*/
4343
public function testDeliverWithUnsuccessfulResponse()

Tests/HttpCache/EsiTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function testProcessEscapesPhpTags()
133133
}
134134

135135
/**
136-
* @expectedException RuntimeException
136+
* @expectedException \RuntimeException
137137
*/
138138
public function testProcessWhenNoSrcInAnEsi()
139139
{
@@ -173,7 +173,7 @@ public function testHandle()
173173
}
174174

175175
/**
176-
* @expectedException RuntimeException
176+
* @expectedException \RuntimeException
177177
*/
178178
public function testHandleWhenResponseIsNot200()
179179
{

Tests/HttpKernelTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function setUp()
3535
}
3636

3737
/**
38-
* @expectedException RuntimeException
38+
* @expectedException \RuntimeException
3939
*/
4040
public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue()
4141
{
@@ -45,7 +45,7 @@ public function testHandleWhenControllerThrowsAnExceptionAndRawIsTrue()
4545
}
4646

4747
/**
48-
* @expectedException RuntimeException
48+
* @expectedException \RuntimeException
4949
*/
5050
public function testHandleWhenControllerThrowsAnExceptionAndRawIsFalseAndNoListenerIsRegistered()
5151
{
@@ -147,7 +147,7 @@ public function testHandleWhenNoControllerIsFound()
147147
}
148148

149149
/**
150-
* @expectedException LogicException
150+
* @expectedException \LogicException
151151
*/
152152
public function testHandleWhenTheControllerIsNotACallable()
153153
{
@@ -199,7 +199,7 @@ public function testHandleWhenTheControllerIsAStaticArray()
199199
}
200200

201201
/**
202-
* @expectedException LogicException
202+
* @expectedException \LogicException
203203
*/
204204
public function testHandleWhenTheControllerDoesNotReturnAResponse()
205205
{

0 commit comments

Comments
 (0)