Skip to content

Commit

Permalink
[test-backend-dbi] Fix copying hidden property.
Browse files Browse the repository at this point in the history
So that it actually copies it to the *other* root account.
  • Loading branch information
jralls committed Feb 7, 2021
1 parent 9386b27 commit fe4f9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/backend/dbi/test/test-dbi-stuff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit fe4f9ed

Please sign in to comment.