[ACA-1634] update peopleApi to use alfresco-ja-api-node in e2e (#558)

* update peopleApi to use alfresco-ja-api-node in e2e

* small code improvement
This commit is contained in:
Adina Parpalita
2018-08-09 20:51:45 +03:00
committed by Denys Vuika
parent b8cc5422f4
commit 8c76d92f47
29 changed files with 76 additions and 80 deletions

View File

@@ -51,7 +51,7 @@ describe('Personal Files', () => {
beforeAll(done => {
Promise
.all([
apis.admin.people.createUser(username),
apis.admin.people.createUser({ username }),
apis.admin.nodes.createFolders([ adminFolder ])
])
.then(() => apis.user.nodes.createFolders([ userFolder ]))