Skip to content

Commit

Permalink
chore: Assert rename success in versionning tests
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Jan 16, 2025
1 parent d8fc932 commit 314010a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files_versions/tests/VersioningTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,9 @@ public function testMoveFileIntoSharedFolderAsRecipient(): void {
$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));

Expand Down

0 comments on commit 314010a

Please sign in to comment.