[Pkg-owncloud-commits] [owncloud] 17/28: extend test case for etag preservation
David Prévot
taffit at moszumanska.debian.org
Sat Dec 7 02:33:32 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit cadf1c232e5efc34ef72d3001b938e7f469e6bcf
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