tests: fix app passwords test

This commit is contained in:
Girish Ramakrishnan
2026-02-12 19:57:34 +01:00
parent 88a44ee065
commit e76d4b3474
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ async function add(userId, identifier, name, expiresAt) {
async function list(userId) {
assert.strictEqual(typeof userId, 'string');
return await database.query('SELECT ' + APP_PASSWORD_FIELDS + ' FROM appPasswords WHERE userId = ?', [ userId ]);
return await database.query('SELECT ' + APP_PASSWORD_FIELDS + ' FROM appPasswords WHERE userId = ? ORDER BY name', [ userId ]);
}
async function del(id) {