test: fix appstore test

This commit is contained in:
Girish Ramakrishnan
2025-06-06 11:09:48 +02:00
parent c49050ea69
commit 2b52e21ccf
2 changed files with 1 additions and 96 deletions

View File

@@ -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 });