From fe4f9ed64ab84ed19db2c2bf520c29b399ad70e4 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 5 Feb 2021 15:05:29 -0800 Subject: [PATCH] [test-backend-dbi] Fix copying hidden property. So that it actually copies it to the *other* root account. --- libgnucash/backend/dbi/test/test-dbi-stuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/backend/dbi/test/test-dbi-stuff.cpp b/libgnucash/backend/dbi/test/test-dbi-stuff.cpp index ac59f9dcba..9bfecada30 100644 --- a/libgnucash/backend/dbi/test/test-dbi-stuff.cpp +++ b/libgnucash/backend/dbi/test/test-dbi-stuff.cpp @@ -68,7 +68,7 @@ compare_account_trees (QofBook* book_1, QofBook* book_2) Account* root_1 = gnc_book_get_root_account (book_1); Account* root_2 = gnc_book_get_root_account (book_2); - xaccAccountSetHidden (root_1, xaccAccountGetHidden (root_1)); + xaccAccountSetHidden (root_2, xaccAccountGetHidden (root_1)); g_assert (xaccAccountEqual (root_1, root_2, FALSE)); }