settings: remove licenseKey
this is unused
This commit is contained in:
@@ -15,7 +15,6 @@ const common = require('./common.js'),
|
||||
const { setup, cleanup, serverUrl, owner } = common;
|
||||
|
||||
describe('Appstore Apps API', function () {
|
||||
|
||||
before(setup);
|
||||
after(cleanup);
|
||||
|
||||
@@ -41,7 +40,7 @@ describe('Appstore Apps API', function () {
|
||||
|
||||
const scope2 = nock(settings.apiServerOrigin())
|
||||
.post('/api/v1/register_cloudron', (body) => !!body.domain && body.accessToken === 'SECRET_TOKEN')
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN', licenseKey: 'lkey' });
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN' });
|
||||
|
||||
const response = await superagent.post(`${serverUrl}/api/v1/appstore/register_cloudron`)
|
||||
.send({ email: 'test@cloudron.io', password: 'secret', signup: false })
|
||||
@@ -100,7 +99,7 @@ describe('Subscription API - no signup', function () {
|
||||
|
||||
const scope2 = nock(settings.apiServerOrigin())
|
||||
.post('/api/v1/register_cloudron', (body) => !!body.domain && body.accessToken === 'SECRET_TOKEN')
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN', licenseKey: 'lkey' });
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN' });
|
||||
|
||||
const response = await superagent.post(`${serverUrl}/api/v1/appstore/register_cloudron`)
|
||||
.send({ email: 'test@cloudron.io', password: 'secret', signup: false })
|
||||
@@ -136,7 +135,7 @@ describe('Subscription API - signup', function () {
|
||||
|
||||
const scope3 = nock(settings.apiServerOrigin())
|
||||
.post('/api/v1/register_cloudron', (body) => !!body.domain && body.accessToken === 'SECRET_TOKEN')
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN', licenseKey: 'lkey' });
|
||||
.reply(201, { cloudronId: 'cid', cloudronToken: 'CLOUDRON_TOKEN' });
|
||||
|
||||
const response = await superagent.post(`${serverUrl}/api/v1/appstore/register_cloudron`)
|
||||
.send({ email: 'test@cloudron.io', password: 'secret', signup: true })
|
||||
|
||||
Reference in New Issue
Block a user