test: add provision test

This commit is contained in:
Girish Ramakrishnan
2025-06-06 11:25:57 +02:00
parent 2b52e21ccf
commit 7b9504c5b4
3 changed files with 62 additions and 2 deletions

View File

@@ -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`)