Skip to content

Commit

Permalink
[HttpKernel] fixed some broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Oct 29, 2012
1 parent 0698023 commit 4dcb0bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tests/Exception/FlattenExceptionTest.php
Expand Up @@ -26,7 +26,6 @@
use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException;
use Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException;
use Symfony\Component\HttpKernel\Exception\InternalServerErrorHttpException;

class FlattenExceptionTest extends \PHPUnit_Framework_TestCase
{
Expand Down Expand Up @@ -79,9 +78,6 @@ public function testStatusCode()

$flattened = FlattenException::create(new UnsupportedMediaTypeHttpException());
$this->assertEquals('415', $flattened->getStatusCode());

$flattened = FlattenException::create(new InternalServerErrorHttpException());
$this->assertEquals('500', $flattened->getStatusCode());
}

public function testHeadersForHttpException()
Expand Down

0 comments on commit 4dcb0bf

Please sign in to comment.