aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/ApiTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-25 14:50:46 +0100
committerGitHub <noreply@github.com>2018-01-25 14:50:46 +0100
commit8160d0bc2aa334806e6c6e45e4f49bd9cf1a8097 (patch)
tree38a85a16e46ab97f9f8ab4afc3afbd596ce7fb24 /apps/files_sharing/tests/ApiTest.php
parentfe88e7f9264e3826e7efeb7144eb8ce0267cefe8 (diff)
parent4718d2b80d88170f3814d3f7795bda9557ef12ac (diff)
downloadnextcloud-server-8160d0bc2aa334806e6c6e45e4f49bd9cf1a8097.tar.gz
nextcloud-server-8160d0bc2aa334806e6c6e45e4f49bd9cf1a8097.zip
Merge pull request #8036 from nextcloud/phpunit6
Require PHPUnit 6.5 or higher
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);
}
/**