diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-12 22:45:22 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-12 22:45:22 +0200 |
commit | 919c7b853191ee3a657d68c346e764645dd172aa (patch) | |
tree | 9640a5854f79617d016e1f1eed17263630899760 /build | |
parent | 96f5210fc471055411babf6da5346278b049e8a6 (diff) | |
download | nextcloud-server-919c7b853191ee3a657d68c346e764645dd172aa.tar.gz nextcloud-server-919c7b853191ee3a657d68c346e764645dd172aa.zip |
improve fail info and disable cache for a case
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/LDAPContext.php | 2 | ||||
-rw-r--r-- | build/integration/ldap_features/openldap-uid-username.feature | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/build/integration/features/bootstrap/LDAPContext.php b/build/integration/features/bootstrap/LDAPContext.php index 959ff628b1f..671dab37675 100644 --- a/build/integration/features/bootstrap/LDAPContext.php +++ b/build/integration/features/bootstrap/LDAPContext.php @@ -183,7 +183,7 @@ class LDAPContext implements Context { public function theRecordFieldsShouldMatch(TableNode $expectations) { foreach($expectations->getRowsHash() as $k => $v) { $value = (string)simplexml_load_string($this->response->getBody())->data[0]->$k; - Assert::assertEquals($v, $value); + Assert::assertEquals($v, $value, "got $value"); } $backend = (string)simplexml_load_string($this->response->getBody())->data[0]->backend; diff --git a/build/integration/ldap_features/openldap-uid-username.feature b/build/integration/ldap_features/openldap-uid-username.feature index d267870ca26..f01c7795004 100644 --- a/build/integration/ldap_features/openldap-uid-username.feature +++ b/build/integration/ldap_features/openldap-uid-username.feature @@ -75,6 +75,7 @@ Feature: LDAP Given modify LDAP configuration | ldapBaseUsers | ou=PagingTest,dc=nextcloud,dc=ci | | ldapPagingSize | 2 | + | ldapCacheTTL | 0 | And As an "admin" And sending "GET" to "/cloud/users?limit=10&offset=2" Then the OCS status code should be "200" |