Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zimbra-admin-api-js
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Public
zimbra-admin-api-js
Commits
23c59849
Commit
23c59849
authored
Sep 20, 2016
by
David Gatica
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test of copyCos, solved
parent
4a9c3837
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
package.json
+1
-1
test.js
test/test.js
+1
-1
No files found.
package.json
View file @
23c59849
{
"name"
:
"zimbra-admin-api-js"
,
"version"
:
"0.3.
8
"
,
"version"
:
"0.3.
9
"
,
"main"
:
"src/index.js"
,
"engines"
:
{
"node"
:
">=6.2"
...
...
test/test.js
View file @
23c59849
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment