[Pkg-owncloud-commits] [owncloud] 39/129: Fix rename shared versions test
David Prévot
taffit at moszumanska.debian.org
Thu Nov 5 01:04:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 490101a3a1d557b5bfba8216a6caeb0167ef25dc
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Oct 15 15:39:38 2015 +0200
Fix rename shared versions test
---
apps/files_versions/tests/versions.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php
index 00d2b75..2979de2 100644
--- a/apps/files_versions/tests/versions.php
+++ b/apps/files_versions/tests/versions.php
@@ -301,11 +301,10 @@ class Test_Files_Versioning extends \Test\TestCase {
// execute rename hook of versions app
\OC\Files\Filesystem::rename('/folder1/test.txt', '/folder1/folder2/test.txt');
-
- self::loginHelper(self::TEST_VERSIONS_USER2);
-
$this->runCommands();
+ self::loginHelper(self::TEST_VERSIONS_USER);
+
$this->assertFalse($this->rootView->file_exists($v1));
$this->assertFalse($this->rootView->file_exists($v2));
--
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