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

This commit is contained in:
Stefan Niedermann 2020-06-08 10:32:18 +02:00 committed by Niedermann IT-Dienstleistungen
parent 7c4f6f2007
commit b838ddbba9

View file

@ -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