diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-02 20:31:29 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-11-02 20:31:29 +0100 |
commit | 998211f7a3a6b497b3b14a53bbc950b1bba6fdc2 (patch) | |
tree | 28b184af0369a28909d7f9c6b01b7ca9708a6c2b /tests | |
parent | e37047b2a0aebec25e8e2933f5233306e9aff16b (diff) | |
download | nextcloud-server-998211f7a3a6b497b3b14a53bbc950b1bba6fdc2.tar.gz nextcloud-server-998211f7a3a6b497b3b14a53bbc950b1bba6fdc2.zip |
WIN: fixing unit test for testStreamCopy()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/helper.php b/tests/lib/helper.php index babafab52c0..c548631ac16 100644 --- a/tests/lib/helper.php +++ b/tests/lib/helper.php @@ -239,7 +239,7 @@ class Test_Helper extends PHPUnit_Framework_TestCase { return array( array(0, false, false, false), array(0, false, \OC::$SERVERROOT . '/tests/data/lorem.txt', false), - array(446, true, \OC::$SERVERROOT . '/tests/data/lorem.txt', \OC::$SERVERROOT . '/tests/data/lorem-copy.txt'), + array(filesize(\OC::$SERVERROOT . '/tests/data/lorem.txt'), true, \OC::$SERVERROOT . '/tests/data/lorem.txt', \OC::$SERVERROOT . '/tests/data/lorem-copy.txt'), ); } } |