From f3561e2349e0a3bac44cda9716f5cd373799a9b9 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 25 Aug 2015 18:07:40 +0200 Subject: Explicitly specify status code 200 as response code Potentially fixes https://github.com/owncloud/core/issues/17586 --- tests/lib/connector/sabre/DummyGetResponsePluginTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/lib/connector/sabre/DummyGetResponsePluginTest.php b/tests/lib/connector/sabre/DummyGetResponsePluginTest.php index fa8f0694625..096c2c5f0d2 100644 --- a/tests/lib/connector/sabre/DummyGetResponsePluginTest.php +++ b/tests/lib/connector/sabre/DummyGetResponsePluginTest.php @@ -59,6 +59,10 @@ class DummyGetResponsePluginTest extends TestCase { $response ->expects($this->once()) ->method('setBody'); + $response + ->expects($this->once()) + ->method('setStatus') + ->with(200); $this->assertSame(false, $this->dummyGetResponsePlugin->httpGet($request, $response)); } -- cgit v1.2.3