Fixup more tests

This commit is contained in:
Johannes Zellner
2022-09-24 18:26:31 +02:00
parent 15d473d506
commit 858c85ee85
3 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ describe('Settings', function () {
});
it('can set default profile config', async function () {
await tokens.add({ name: 'token1', identifier: admin.id, clientId: tokens.ID_WEBADMIN, expires: Number.MAX_SAFE_INTEGER, lastUsedTime: null, scope: 'unused' });
await tokens.add({ name: 'token1', identifier: admin.id, clientId: tokens.ID_WEBADMIN, expires: Number.MAX_SAFE_INTEGER, lastUsedTime: null });
let result = await tokens.listByUserId(admin.id);
expect(result.length).to.be(1); // just confirm the token was really added!