improve fail info and disable cache for a case
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
96f5210fc4
commit
919c7b8531
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue