test: fix appstore test
This commit is contained in:
@@ -138,7 +138,7 @@ async function setup() {
|
||||
// create owner
|
||||
const scope1 = nock(await appstore.getApiServerOrigin())
|
||||
.post('/api/v1/register_cloudron3', (body) => typeof body.domain === 'string' && typeof body.version === 'string')
|
||||
.reply(201, { id: 'cid', token: 'CLOUDRON_TOKEN' });
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN' });
|
||||
response = await superagent.post(`${serverUrl}/api/v1/provision/activate`)
|
||||
.query({ setupToken: 'somesetuptoken' })
|
||||
.send({ username: owner.username, password: owner.password, email: owner.email });
|
||||
|
||||
Reference in New Issue
Block a user