summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-11-27 14:01:03 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-11-27 14:40:31 +0100
commit7aa07bcf1c7c3a378229422b86165449f018a6bb (patch)
tree805e19921580a0074f08adb4528022f12f852854 /apps/files_trashbin/tests
parentd0059da7f395a4d86d896a4bfaf4e03f942f5fe1 (diff)
downloadnextcloud-server-7aa07bcf1c7c3a378229422b86165449f018a6bb.tar.gz
nextcloud-server-7aa07bcf1c7c3a378229422b86165449f018a6bb.zip
Deduplicate queued trashbin expire jobs
* fixes #20425 * this removes the argument trashbin size from the expire job - it is now calculated in the expire job * the queue now detects properly that the job is already queue and doesn't add it again
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/command/expiretest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/command/expiretest.php b/apps/files_trashbin/tests/command/expiretest.php
index a6a8a6d53a8..0d457db2807 100644
--- a/apps/files_trashbin/tests/command/expiretest.php
+++ b/apps/files_trashbin/tests/command/expiretest.php
@@ -26,7 +26,7 @@ use Test\TestCase;
class ExpireTest extends TestCase {
public function testExpireNonExistingUser() {
- $command = new Expire('test', 0);
+ $command = new Expire('test');
$command->handle();
$this->assertTrue(true);