]> source.dussan.org Git - nextcloud-server.git/commitdiff
adjust encryption tests to the trash bin changes
authorBjoern Schiessle <schiessle@owncloud.com>
Tue, 17 Jun 2014 20:30:39 +0000 (22:30 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 18 Jun 2014 12:41:16 +0000 (14:41 +0200)
apps/files_encryption/tests/trashbin.php

index 5d54b7db24f0b989f03bfad72e38b7ee4bdf5eda..a5479de1b8d93117f949eb27ddf8c4078220ec27 100755 (executable)
@@ -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(