Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b838ddbb authored by Stefan Niedermann's avatar Stefan Niedermann Committed by Niedermann IT-Dienstleistungen
Browse files

#227 Remember last scrolling position per note - Fix instrumented tests

parent 7c4f6f20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ public class NotesDatabaseTest {
            String newContent = getCurDate() + " This is a even greater day my friend.";
            DBNote dbNote = new DBNote(newNoteID, 1, Calendar.getInstance(), "A Greater Day",
                    newContent, true, "Best Friend's Record", null, DBStatus.VOID,
                    accountID, NoteUtil.generateNoteExcerpt(newContent));
                    accountID, NoteUtil.generateNoteExcerpt(newContent), 0);

            // Add a new note
            long noteID = db.addNote(accountID, dbNote);
@@ -161,7 +161,7 @@ public class NotesDatabaseTest {
            newContent = getCurDate() + " This is a even greater day my friend.";
            dbNote = new DBNote(0, 1, Calendar.getInstance(), "An Even Greater Day",
                    newContent, true, "Sincere Friend's Record", null, DBStatus.VOID,
                    accountID, NoteUtil.generateNoteExcerpt(newContent));
                    accountID, NoteUtil.generateNoteExcerpt(newContent), 0);
            // Add a new note
            noteID = db.addNote(accountID, dbNote);
            // Check if this note is added successfully