Fix rename shared versions test

This commit is contained in:
Robin Appelman 2015-10-15 15:39:38 +02:00 committed by Thomas Müller
parent 22c5c19376
commit d749b9a5ac
1 changed files with 2 additions and 3 deletions

View File

@ -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));