Fix rename shared versions test
This commit is contained in:
parent
22c5c19376
commit
d749b9a5ac
1 changed files with 2 additions and 3 deletions
|
@ -301,11 +301,10 @@ class Test_Files_Versioning extends \Test\TestCase {
|
||||||
// execute rename hook of versions app
|
// execute rename hook of versions app
|
||||||
\OC\Files\Filesystem::rename('/folder1/test.txt', '/folder1/folder2/test.txt');
|
\OC\Files\Filesystem::rename('/folder1/test.txt', '/folder1/folder2/test.txt');
|
||||||
|
|
||||||
|
|
||||||
self::loginHelper(self::TEST_VERSIONS_USER2);
|
|
||||||
|
|
||||||
$this->runCommands();
|
$this->runCommands();
|
||||||
|
|
||||||
|
self::loginHelper(self::TEST_VERSIONS_USER);
|
||||||
|
|
||||||
$this->assertFalse($this->rootView->file_exists($v1));
|
$this->assertFalse($this->rootView->file_exists($v1));
|
||||||
$this->assertFalse($this->rootView->file_exists($v2));
|
$this->assertFalse($this->rootView->file_exists($v2));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue