File tree 1 file changed +0
-4
lines changed
src/Symfony/Component/HttpKernel/Tests/Exception 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 26
26
use Symfony \Component \HttpKernel \Exception \ServiceUnavailableHttpException ;
27
27
use Symfony \Component \HttpKernel \Exception \TooManyRequestsHttpException ;
28
28
use Symfony \Component \HttpKernel \Exception \UnsupportedMediaTypeHttpException ;
29
- use Symfony \Component \HttpKernel \Exception \InternalServerErrorHttpException ;
30
29
31
30
class FlattenExceptionTest extends \PHPUnit_Framework_TestCase
32
31
{
@@ -79,9 +78,6 @@ public function testStatusCode()
79
78
80
79
$ flattened = FlattenException::create (new UnsupportedMediaTypeHttpException ());
81
80
$ this ->assertEquals ('415 ' , $ flattened ->getStatusCode ());
82
-
83
- $ flattened = FlattenException::create (new InternalServerErrorHttpException ());
84
- $ this ->assertEquals ('500 ' , $ flattened ->getStatusCode ());
85
81
}
86
82
87
83
public function testHeadersForHttpException ()
You can’t perform that action at this time.
0 commit comments