summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/OCSControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Controller/OCSControllerTest.php')
-rw-r--r--tests/Core/Controller/OCSControllerTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Core/Controller/OCSControllerTest.php b/tests/Core/Controller/OCSControllerTest.php
index e860ff6d641..c7cf601282b 100644
--- a/tests/Core/Controller/OCSControllerTest.php
+++ b/tests/Core/Controller/OCSControllerTest.php
@@ -113,6 +113,7 @@ class OCSControllerTest extends TestCase {
$result['capabilities'] = $capabilities;
$expected = new DataResponse($result);
+ $expected->setETag(md5(json_encode($result)));
$this->assertEquals($expected, $this->controller->getCapabilities());
}
@@ -146,6 +147,7 @@ class OCSControllerTest extends TestCase {
$result['capabilities'] = $capabilities;
$expected = new DataResponse($result);
+ $expected->setETag(md5(json_encode($result)));
$this->assertEquals($expected, $this->controller->getCapabilities());
}