| | |
| | | }) |
| | | |
| | | afterEach(async function () { |
| | | // await deleteUser(lastUserId) |
| | | await deleteUser(lastUserId).catch(err => console.log(err.message)) |
| | | }) |
| | | |
| | | |
| | |
| | | |
| | | async function deleteUser (usr_id) { |
| | | const res2 = await libIlias.deleteUser(usr_id) |
| | | console.log(res2) |
| | | expect(res2).to.have.property("status").and.to.equal("ok") |
| | | expect(res2).to.have.property("command").and.to.equal("deleteUser") |
| | | // console.log(res2) |
| | | // expect(res2).to.have.property("status").and.to.equal("ok") |
| | | // expect(res2).to.have.property("command").and.to.equal("deleteUser") |
| | | } |