[gnote: 18/21] Fix creating test notes in manager
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote: 18/21] Fix creating test notes in manager
- Date: Tue, 20 Jun 2017 20:16:26 +0000 (UTC)
commit 11c5e55c75f6b4b8a4d475ed5cf8f66c9c3339a0
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Apr 29 21:58:02 2017 +0300
Fix creating test notes in manager
src/test/unit/syncmanagerutests.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/test/unit/syncmanagerutests.cpp b/src/test/unit/syncmanagerutests.cpp
index a8d9152..0156a02 100644
--- a/src/test/unit/syncmanagerutests.cpp
+++ b/src/test/unit/syncmanagerutests.cpp
@@ -37,7 +37,7 @@ void create_note(test::NoteManager & manager, const Glib::ustring & title, const
{
Glib::ustring content =
Glib::ustring::compose("<note-content><note-title>%1</note-title>\n\n%2</note-content>",
title, body);
- manager.create(title, content);
+ manager.create(title, content)->save();
}
TEST(clean_sync)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]