[Pkg-owncloud-commits] [owncloud] 56/83: extend test case for etag preservation

David Prévot taffit at moszumanska.debian.org
Wed Dec 18 13:05:31 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 5.0
in repository owncloud.

commit 5d600e9d68bf986674e53d6ffe01e292d3208a89
Author: Robin Appelman <icewind at owncloud.com>
Date:   Fri Dec 6 13:00:58 2013 +0100

    extend test case for etag preservation
---
 tests/lib/files/etagtest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/files/etagtest.php b/tests/lib/files/etagtest.php
index b50a96a..04f7959 100644
--- a/tests/lib/files/etagtest.php
+++ b/tests/lib/files/etagtest.php
@@ -46,7 +46,7 @@ class EtagTest extends \PHPUnit_Framework_TestCase {
 		\OC_Util::setupFS($this->uid);
 	}
 
-	public function testWithSharing() {
+	public function testNewUser() {
 		$user1 = uniqid('user_');
 		$this->userBackend->createUser($user1, '');
 
@@ -59,7 +59,7 @@ class EtagTest extends \PHPUnit_Framework_TestCase {
 		Filesystem::file_put_contents('/folder/bar.txt', 'fgh');
 		Filesystem::file_put_contents('/folder/subfolder/qwerty.txt', 'jkl');
 
-		$files = array('/folder', '/foo.txt', '/folder/bar.txt', '/folder/subfolder', '/folder/subfolder/qwerty.txt');
+		$files = array('/', '/folder', '/foo.txt', '/folder/bar.txt', '/folder/subfolder', '/folder/subfolder/qwerty.txt');
 		$originalEtags = $this->getEtags($files);
 
 		$scanner = new \OC\Files\Utils\Scanner($user1);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list