Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a23dbd

Browse files
committed
[HttpKernel] fixed some broken tests
1 parent 27ee846 commit 2a23dbd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/HttpKernel/Tests/Exception/FlattenExceptionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
2727
use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException;
2828
use Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException;
29-
use Symfony\Component\HttpKernel\Exception\InternalServerErrorHttpException;
3029

3130
class FlattenExceptionTest extends \PHPUnit_Framework_TestCase
3231
{
@@ -79,9 +78,6 @@ public function testStatusCode()
7978

8079
$flattened = FlattenException::create(new UnsupportedMediaTypeHttpException());
8180
$this->assertEquals('415', $flattened->getStatusCode());
82-
83-
$flattened = FlattenException::create(new InternalServerErrorHttpException());
84-
$this->assertEquals('500', $flattened->getStatusCode());
8581
}
8682

8783
public function testHeadersForHttpException()

0 commit comments

Comments
 (0)