Fixup appstore route related tests
This commit is contained in:
@@ -23,7 +23,7 @@ describe('Appstore Apps API', function () {
|
||||
const response = await superagent.get(`${serverUrl}/api/v1/appstore/apps`)
|
||||
.query({ access_token: owner.token })
|
||||
.ok(() => true);
|
||||
expect(response.statusCode).to.be(402); // not registered yet; invalid credentials
|
||||
expect(response.statusCode).to.be(402);
|
||||
});
|
||||
|
||||
it('cannot get app without subscription', async function () {
|
||||
@@ -31,7 +31,7 @@ describe('Appstore Apps API', function () {
|
||||
.query({ access_token: owner.token })
|
||||
.ok(() => true);
|
||||
|
||||
expect(response.statusCode).to.be(402); // not registered yet; invalid credentials
|
||||
expect(response.statusCode).to.be(402);
|
||||
});
|
||||
|
||||
it('register cloudron', async function () {
|
||||
|
||||
Reference in New Issue
Block a user