From 665b7571f42d840eda53b29c2c58876d9afa76e3 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Mon, 4 Nov 2013 17:19:04 +0100 Subject: [PATCH] adding test for binary file to test \OC_Helper::streamCopy() --- tests/lib/helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lib/helper.php b/tests/lib/helper.php index c548631ac1..4311215795 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -240,6 +240,7 @@ class Test_Helper extends PHPUnit_Framework_TestCase { array(0, false, false, false), array(0, false, \OC::$SERVERROOT . '/tests/data/lorem.txt', false), array(filesize(\OC::$SERVERROOT . '/tests/data/lorem.txt'), true, \OC::$SERVERROOT . '/tests/data/lorem.txt', \OC::$SERVERROOT . '/tests/data/lorem-copy.txt'), + array(3670, true, \OC::$SERVERROOT . '/tests/data/testimage.png', \OC::$SERVERROOT . '/tests/data/testimage-copy.png'), ); } }