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 c1fefb6 commit 6fbfc2bCopy full SHA for 6fbfc2b
Tests/Templating/DelegatingEngineTest.php
@@ -12,6 +12,7 @@
12
namespace Symfony\Bundle\FrameworkBundle\Tests\Templating;
13
14
use Symfony\Bundle\FrameworkBundle\Templating\DelegatingEngine;
15
+use Symfony\Component\HttpFoundation\Response;
16
17
class DelegatingEngineTest extends \PHPUnit_Framework_TestCase
18
{
@@ -60,7 +61,7 @@ public function testGetInvalidEngine()
60
61
62
public function testRenderResponseWithFrameworkEngine()
63
- $response = $this->getMock('Symfony\Component\HttpFoundation\Response');
64
+ $response = new Response();
65
$engine = $this->getFrameworkEngineMock('template.php', true);
66
$engine->expects($this->once())
67
->method('renderResponse')
0 commit comments