summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-22 10:22:11 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-22 15:51:19 +0100
commit0ee45d3d20ce53db97b6835acb00a95e27ee072d (patch)
tree61a33428a9e19f1b142e0bf22df97b391ab20b0e /tests
parenta229095af1f70726036c1247a6ee5914b257577d (diff)
downloadnextcloud-server-0ee45d3d20ce53db97b6835acb00a95e27ee072d.tar.gz
nextcloud-server-0ee45d3d20ce53db97b6835acb00a95e27ee072d.zip
Fix proper types
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppFramework/Http/RequestTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Http/RequestTest.php b/tests/lib/AppFramework/Http/RequestTest.php
index cc55e33f354..c6b9719b32a 100644
--- a/tests/lib/AppFramework/Http/RequestTest.php
+++ b/tests/lib/AppFramework/Http/RequestTest.php
@@ -307,7 +307,7 @@ class RequestTest extends \Test\TestCase {
'method' => 'PUT',
'server' => [
'CONTENT_TYPE' => 'image/png',
- 'CONTENT_LENGTH' => strlen($data)
+ 'CONTENT_LENGTH' => (string)strlen($data)
],
);