diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-04 17:19:04 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-04 17:19:04 +0100 |
commit | 665b7571f42d840eda53b29c2c58876d9afa76e3 (patch) | |
tree | 08578e169434b7be3be273e5c7f1fec370ce1cda /tests | |
parent | 2e6f339886d6d06c1af351c17b4c93eb0d22c9c4 (diff) | |
download | nextcloud-server-665b7571f42d840eda53b29c2c58876d9afa76e3.tar.gz nextcloud-server-665b7571f42d840eda53b29c2c58876d9afa76e3.zip |
adding test for binary file to test \OC_Helper::streamCopy()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/helper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index c548631ac16..4311215795c 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'), ); } } |