summaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/StreamResponseTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AppFramework/Http/StreamResponseTest.php')
-rw-r--r--tests/lib/AppFramework/Http/StreamResponseTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/StreamResponseTest.php b/tests/lib/AppFramework/Http/StreamResponseTest.php
index 1f761d6b89c..c082b36e0ac 100644
--- a/tests/lib/AppFramework/Http/StreamResponseTest.php
+++ b/tests/lib/AppFramework/Http/StreamResponseTest.php
@@ -37,7 +37,9 @@ class StreamResponseTest extends \Test\TestCase {
protected function setUp() {
parent::setUp();
- $this->output = $this->getMock('OCP\\AppFramework\\Http\\IOutput');
+ $this->output = $this->getMockBuilder('OCP\\AppFramework\\Http\\IOutput')
+ ->disableOriginalConstructor()
+ ->getMock();
}
public function testOutputNotModified(){