Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
* 2.7:
  Fix test
  • Loading branch information
nicolas-grekas committed Apr 24, 2015
2 parents e6d05b7 + 0cbe1e0 commit dc89425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ public function testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithANonH
try {
$kernel->handle(new Request(), HttpKernelInterface::MASTER_REQUEST, true);
$this->fail('LogicException expected');
} catch (\LogicException $e) {
$this->assertSame($exception, $e->getPrevious());
} catch (\RuntimeException $e) {
$this->assertSame($exception, $e);
}
}

Expand Down

0 comments on commit dc89425

Please sign in to comment.