We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164b48e commit a20c7aaCopy full SHA for a20c7aa
Tests/Extension/HttpKernelExtensionTest.php
@@ -30,9 +30,10 @@ class HttpKernelExtensionTest extends TestCase
30
{
31
public function testFragmentWithError()
32
33
- $this->expectException(\Twig\Error\RuntimeError::class);
34
$renderer = $this->getFragmentHandler($this->throwException(new \Exception('foo')));
35
+ $this->expectException(\Twig\Error\RuntimeError::class);
36
+
37
$this->renderTemplate($renderer);
38
}
39
0 commit comments