aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php2
-rw-r--r--apps/files_trashbin/tests/Command/ExpireTest.php2
-rw-r--r--apps/files_trashbin/tests/StorageTest.php1
3 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php
index 882099efc99..5339d600722 100644
--- a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php
+++ b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php
@@ -39,6 +39,6 @@ class ExpireTrashTest extends \Test\TestCase {
/** @var \OC\BackgroundJob\JobList $jobList */
$backgroundJob->execute($jobList);
- $this->assertTrue(true);
+ $this->addToAssertionCount(1);
}
}
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);
}
}
diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php
index 0e23ea6a3ba..67e622aa1c9 100644
--- a/apps/files_trashbin/tests/StorageTest.php
+++ b/apps/files_trashbin/tests/StorageTest.php
@@ -593,6 +593,7 @@ class StorageTest extends \Test\TestCase {
$this->markTestSkipped('Skipping since the current home storage backend requires the user to logged in');
} else {
$this->userView->unlink('test.txt');
+ $this->addToAssertionCount(1);
}
}
}