aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/ApiTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/ApiTest.php')
-rw-r--r--apps/files_sharing/tests/ApiTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/ApiTest.php b/apps/files_sharing/tests/ApiTest.php
index 8e2b5942d14..6d8e2dd8d84 100644
--- a/apps/files_sharing/tests/ApiTest.php
+++ b/apps/files_sharing/tests/ApiTest.php
@@ -236,7 +236,7 @@ class ApiTest extends TestCase {
$ocs->cleanup();
}
- function testEnfoceLinkPassword() {
+ function testEnforceLinkPassword() {
$password = md5(time());
$config = \OC::$server->getConfig();
@@ -288,6 +288,7 @@ class ApiTest extends TestCase {
$ocs->cleanup();
$config->setAppValue('core', 'shareapi_enforce_links_password', 'no');
+ $this->addToAssertionCount(1);
}
/**
@@ -336,6 +337,8 @@ class ApiTest extends TestCase {
// cleanup
\OC::$server->getConfig()->setAppValue('core', 'shareapi_exclude_groups', 'no');
\OC::$server->getConfig()->setAppValue('core', 'shareapi_exclude_groups_list', '');
+
+ $this->addToAssertionCount(1);
}
@@ -1102,6 +1105,7 @@ class ApiTest extends TestCase {
$ocs->cleanup();
$this->shareManager->deleteShare($share1);
+ $this->addToAssertionCount(1);
}
/**