[geary: 46/66] Fix detach_emails_before_timestamp test case
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 46/66] Fix detach_emails_before_timestamp test case
- Date: Tue, 30 Jun 2020 07:11:30 +0000 (UTC)
commit 01e114f09aa54f310d1c54e0eb1f516043cc4f63
Author: Chris Heywood <15127-creywood users noreply gitlab gnome org>
Date: Mon Feb 10 16:04:13 2020 +0100
Fix detach_emails_before_timestamp test case
That's ImapDB.Folder::detach_emails_before_timestamp, fixed
and enabled.
test/engine/imap-db/imap-db-folder-test.vala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/test/engine/imap-db/imap-db-folder-test.vala b/test/engine/imap-db/imap-db-folder-test.vala
index 1c5bc53c6..7bd023842 100644
--- a/test/engine/imap-db/imap-db-folder-test.vala
+++ b/test/engine/imap-db/imap-db-folder-test.vala
@@ -26,8 +26,7 @@ class Geary.ImapDB.FolderTest : TestCase {
//add_test("merge_existing_preview", merge_existing_preview);
add_test("set_flags", set_flags);
add_test("set_flags_on_deleted", set_flags_on_deleted);
- // TODO temporarily disabled until fixed
- //add_test("detach_emails_before_timestamp", detach_emails_before_timestamp);
+ add_test("detach_emails_before_timestamp", detach_emails_before_timestamp);
}
public override void set_up() throws GLib.Error {
@@ -374,7 +373,7 @@ class Geary.ImapDB.FolderTest : TestCase {
);
this.folder.detach_emails_before_timestamp.end(async_result());
- int64[] expected = { 2, 3 };
+ int64[] expected = { 1, 2 };
Db.Result result = this.account.db.query(
"SELECT id FROM MessageLocationTable"
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]