test: add provision test
This commit is contained in:
@@ -146,6 +146,7 @@ async function setup() {
|
||||
owner.token = response.body.token;
|
||||
owner.id = response.body.userId;
|
||||
expect(scope1.isDone()).to.be.ok();
|
||||
scope1.persist(false);
|
||||
|
||||
// create an admin
|
||||
response = await superagent.post(`${serverUrl}/api/v1/users`)
|
||||
|
||||
Reference in New Issue
Block a user