mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-26 14:57:38 +03:00
#227 Remember last scrolling position per note - Fix instrumented tests
This commit is contained in:
parent
7c4f6f2007
commit
b838ddbba9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue