File tree Expand file tree Collapse file tree
repository/storage/postgres/orm/sequelize Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ describe('Note API', () => {
568568 } ) ;
569569 } ) ;
570570
571- test ( 'Returns two note parents in case when the note parents IDs relations are provided in a different order than expected ' , async ( ) => {
571+ test ( 'Returns note parents in correct order in case when parents created in a non-linear order' , async ( ) => {
572572 /** Create test user */
573573 const user = await global . db . insertUser ( ) ;
574574
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ export default class NoteSequelizeStorage {
325325 } ;
326326
327327 /**
328- * Get all notes based on their ids
328+ * Get all notes based on their ids in the same order of passed ids
329329 * @param noteIds - list of note ids
330330 */
331331 public async getNotesByIds ( noteIds : NoteInternalId [ ] ) : Promise < Note [ ] > {
You can’t perform that action at this time.
0 commit comments