Commit 307f31f0 authored by Patricio Bruna's avatar Patricio Bruna

Big Refactor

parent 25c76025
This diff is collapsed.
This diff is collapsed.
{
"name": "zimbra-admin-api-js",
"version": "0.0.15",
"version": "0.0.16",
"private": true,
"main": "lib/zimbra-admin-api.js",
"dependencies": {
......
This diff is collapsed.
......@@ -155,11 +155,11 @@
it('should return directorySearch with total info', function(done){
let api = new ZimbraAdminApi(auth_data);
let query_object = {limit: 10, domain: 'customer.dev', types: "accounts,distributionlists,aliases"};
let query_object = {limit: 10, domain: 'customer.dev', types: "accounts"};
api.directorySearch(query_object, function(err, data){
expect(data.more).to.equal(true);
expect(data.total).to.be.above(1);
expect(data.account.length).to.be.at.least(2);
expect(data.account.length).to.be.at.least(1);
done();
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment