Fixup appstore route related tests

This commit is contained in:
Johannes Zellner
2021-10-12 14:55:30 +02:00
parent 004a264993
commit 8c9c19d07d
2 changed files with 2 additions and 3 deletions

View File

@@ -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 () {