diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-15 16:39:38 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 22:41:51 +0300 |
commit | d749b9a5ac434418a081149ab056a2db4caf9a55 (patch) | |
tree | 1070e0b3e8e564e127ca28850d0cfe98c55829e1 /apps/files_versions | |
parent | 22c5c19376e4933aa667ca5a684418b29b183979 (diff) |
Fix rename shared versions test
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/tests/versions.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php index 00d2b75b7a9..2979de2ac98 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)); |