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 27ee846 commit 2a23dbd
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
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 2a23dbd

Please sign in to comment.