Commit 23c59849 authored by David Gatica's avatar David Gatica

Test of copyCos, solved

parent 4a9c3837
{
"name": "zimbra-admin-api-js",
"version": "0.3.8",
"version": "0.3.9",
"main": "src/index.js",
"engines": {
"node": ">=6.2"
......
......@@ -886,7 +886,7 @@ var zimbraAdminPassword = process.env.ZIMBRA_PASSWORD || '12345678';
it.only('Should create a copy of Cos Professional, called Pro2 ', function(done){
let api = new ZimbraAdminApi(auth_data);
let newCos = "Pro2";
let newCos = Date.now();
api.copyCos("professional", newCos, function(err, res){
if(err) return console.error(err);
console.log(res);
......
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