Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-12 23:45:22 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-12 23:45:22 +0300
commit919c7b853191ee3a657d68c346e764645dd172aa (patch)
tree9640a5854f79617d016e1f1eed17263630899760 /build/integration
parent96f5210fc471055411babf6da5346278b049e8a6 (diff)
improve fail info and disable cache for a case
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build/integration')
-rw-r--r--build/integration/features/bootstrap/LDAPContext.php2
-rw-r--r--build/integration/ldap_features/openldap-uid-username.feature1
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"