From 998211f7a3a6b497b3b14a53bbc950b1bba6fdc2 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Sat, 2 Nov 2013 20:31:29 +0100 Subject: [PATCH] WIN: fixing unit test for testStreamCopy() --- tests/lib/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), ); } } -- 2.39.5