mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
adjust encryption tests to the trash bin changes
This commit is contained in:
parent
05cd150fd2
commit
bcc88be4c7
@ -282,7 +282,7 @@ class Test_Encryption_Trashbin extends \PHPUnit_Framework_TestCase {
|
||||
$timestamp = str_replace('d', '', $trashFileSuffix);
|
||||
|
||||
// delete file forever
|
||||
$this->assertGreaterThan(0, \OCA\Files_Trashbin\Trashbin::delete($filename, $timestamp));
|
||||
$this->assertGreaterThan(0, \OCA\Files_Trashbin\Trashbin::delete($filename, $this->userId, $timestamp));
|
||||
|
||||
// check if key for admin not exists
|
||||
$this->assertFalse($this->view->file_exists(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user