Suppress Test Logs (#6256)
* Suppress Test Logs This will reduce some of the noise in the tests logs. * replace deprecated buffer * remove deprecation warnings * fix geopoint * Fix GraphQL * postgres warnings
This commit is contained in:
@@ -13,7 +13,7 @@ function newServer(port, dn, provokeSearchError = false) {
|
||||
server.search('o=example', function(req, res, next) {
|
||||
if (provokeSearchError) {
|
||||
res.end(ldapjs.LDAP_SIZE_LIMIT_EXCEEDED);
|
||||
return next(new ldapjs.NoSuchObjectError('fake error'));
|
||||
return next();
|
||||
}
|
||||
const obj = {
|
||||
dn: req.dn.toString(),
|
||||
|
||||
Reference in New Issue
Block a user