mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
chore: Assert rename success in versionning tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
e6275f8759
commit
2d8f6b366a
1 changed files with 2 additions and 1 deletions
|
|
@ -430,8 +430,9 @@ class VersioningTest extends \Test\TestCase {
|
|||
$this->rootView->file_put_contents($v2, 'version2');
|
||||
|
||||
// move file into the shared folder as recipient
|
||||
Filesystem::rename('/test.txt', '/folder1/test.txt');
|
||||
$success = Filesystem::rename('/test.txt', '/folder1/test.txt');
|
||||
|
||||
$this->assertTrue($success);
|
||||
$this->assertFalse($this->rootView->file_exists($v1));
|
||||
$this->assertFalse($this->rootView->file_exists($v2));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue