summaryrefslogtreecommitdiffstats
path: root/tests/lib/InfoXmlTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-25 11:23:12 +0100
committerJoas Schilling <coding@schilljs.com>2018-01-25 11:33:25 +0100
commitbf2be08c9f3b6957a3327929a169eb6204e84cd0 (patch)
tree4738ade539309fea85c5db8e796783c2cdbc0438 /tests/lib/InfoXmlTest.php
parent24af5c20bd65f8e657bcc495984234088c22e824 (diff)
downloadnextcloud-server-bf2be08c9f3b6957a3327929a169eb6204e84cd0.tar.gz
nextcloud-server-bf2be08c9f3b6957a3327929a169eb6204e84cd0.zip
Fix risky tests without assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/InfoXmlTest.php')
-rw-r--r--tests/lib/InfoXmlTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/InfoXmlTest.php b/tests/lib/InfoXmlTest.php
index 18391a20c03..3d740cd39dd 100644
--- a/tests/lib/InfoXmlTest.php
+++ b/tests/lib/InfoXmlTest.php
@@ -67,8 +67,10 @@ class InfoXmlTest extends TestCase {
$applicationClassName = \OCP\AppFramework\App::buildAppNamespace($app) . '\\AppInfo\\Application';
if (class_exists($applicationClassName)) {
$application = new $applicationClassName();
+ $this->addToAssertionCount(1);
} else {
$application = new \OCP\AppFramework\App($app);
+ $this->addToAssertionCount(1);
}
if (isset($appInfo['background-jobs'])) {