add test that only owner can open tickets

This commit is contained in:
Girish Ramakrishnan
2022-11-23 17:48:05 +01:00
parent 30fb1aa351
commit f728971479
3 changed files with 42 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ describe('Eventlog API', function () {
.query({ access_token: owner.token, page: 1, per_page: 10, actions: 'cloudron.activate, user.add' });
expect(response.statusCode).to.equal(200);
expect(response.body.eventlogs.length).to.equal(3);
expect(response.body.eventlogs.length).to.equal(4);
});
it('succeeds with search', async function () {