From bf2be08c9f3b6957a3327929a169eb6204e84cd0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 25 Jan 2018 11:23:12 +0100 Subject: Fix risky tests without assertions Signed-off-by: Joas Schilling --- apps/files_trashbin/tests/Command/ExpireTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/tests/Command') diff --git a/apps/files_trashbin/tests/Command/ExpireTest.php b/apps/files_trashbin/tests/Command/ExpireTest.php index bdc8d867944..2076326cf13 100644 --- a/apps/files_trashbin/tests/Command/ExpireTest.php +++ b/apps/files_trashbin/tests/Command/ExpireTest.php @@ -39,6 +39,6 @@ class ExpireTest extends TestCase { $command = new Expire('test'); $command->handle(); - $this->assertTrue(true); + $this->addToAssertionCount(1); } } -- cgit v1.2.3