summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
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/user_ldap
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/user_ldap')
-rw-r--r--apps/user_ldap/tests/LDAPProviderTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/tests/LDAPProviderTest.php b/apps/user_ldap/tests/LDAPProviderTest.php
index f3a27dec2c4..8df527e0dd8 100644
--- a/apps/user_ldap/tests/LDAPProviderTest.php
+++ b/apps/user_ldap/tests/LDAPProviderTest.php
@@ -429,7 +429,7 @@ class LDAPProviderTest extends \Test\TestCase {
$ldapProvider = $this->getLDAPProvider($server);
$ldapProvider->clearCache('existing_user');
- $this->assertTrue(TRUE);
+ $this->addToAssertionCount(1);
}
/**
@@ -474,7 +474,7 @@ class LDAPProviderTest extends \Test\TestCase {
$ldapProvider = $this->getLDAPProvider($server);
$ldapProvider->clearGroupCache('existing_group');
- $this->assertTrue(TRUE);
+ $this->addToAssertionCount(1);
}
public function testDnExists() {
@@ -502,7 +502,7 @@ class LDAPProviderTest extends \Test\TestCase {
$ldapProvider = $this->getLDAPProvider($server);
$ldapProvider->flagRecord('existing_user');
- $this->assertTrue(TRUE);
+ $this->addToAssertionCount(1);
}
public function testUnflagRecord() {
@@ -515,7 +515,7 @@ class LDAPProviderTest extends \Test\TestCase {
$ldapProvider = $this->getLDAPProvider($server);
$ldapProvider->unflagRecord('existing_user');
- $this->assertTrue(TRUE);
+ $this->addToAssertionCount(1);
}
/**