]> source.dussan.org Git - nextcloud-server.git/commitdiff
WIN: fixing unit test for testStreamCopy()
authorThomas Mueller <thomas.mueller@tmit.eu>
Sat, 2 Nov 2013 19:31:29 +0000 (20:31 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Sat, 2 Nov 2013 19:31:29 +0000 (20:31 +0100)
tests/lib/helper.php

index babafab52c06bb4583c9ebe2ed7a1443125a6807..c548631ac16f84944bf57a825ad11dbae4055210 100644 (file)
@@ -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'),
                );
        }
 }