tests: fix app passwords test
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user