aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Http/ResponseTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-01-31 15:01:58 +0100
committerRobin Appelman <robin@icewind.nl>2022-02-01 14:24:01 +0100
commitc7129878780787151eae9edeb680b11c45535a34 (patch)
tree09e119b47dde3f04790103a35b0b017fbab16efa /tests/lib/AppFramework/Http/ResponseTest.php
parentd635d58d19d5ab65c0be754fc32fce99672c249f (diff)
downloadnextcloud-server-c7129878780787151eae9edeb680b11c45535a34.tar.gz
nextcloud-server-c7129878780787151eae9edeb680b11c45535a34.zip
send request id in response header
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/AppFramework/Http/ResponseTest.php')
-rw-r--r--tests/lib/AppFramework/Http/ResponseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/ResponseTest.php b/tests/lib/AppFramework/Http/ResponseTest.php
index 97a1ee25588..c725e2fb602 100644
--- a/tests/lib/AppFramework/Http/ResponseTest.php
+++ b/tests/lib/AppFramework/Http/ResponseTest.php
@@ -91,7 +91,7 @@ class ResponseTest extends \Test\TestCase {
public function testAddHeaderValueNullDeletesIt() {
$this->childResponse->addHeader('hello', 'world');
$this->childResponse->addHeader('hello', null);
- $this->assertEquals(4, count($this->childResponse->getHeaders()));
+ $this->assertEquals(5, count($this->childResponse->getHeaders()));
}