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