gnucash maint: [trep-engine] move currency options into their own section, ter

Christopher Lam clam at code.gnucash.org
Sun Dec 13 08:56:25 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/fd8f95f5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/76b060f6 (commit)



commit fd8f95f50d6feae5810ec1ceb3fe4cab9e63bdeb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Dec 13 21:36:26 2020 +0800

    [trep-engine] move currency options into their own section, ter
    
    Some more renamed sections in trep testing, missed in 20a19532a

diff --git a/gnucash/report/reports/standard/test/test-transaction.scm b/gnucash/report/reports/standard/test/test-transaction.scm
index b92ce4a72..5ea03413e 100644
--- a/gnucash/report/reports/standard/test/test-transaction.scm
+++ b/gnucash/report/reports/standard/test/test-transaction.scm
@@ -576,7 +576,7 @@
       (set-option! options "Accounts" "Accounts" (list usd-bank gbp-bank))
       (set-option! options "General" "Start Date" (cons 'absolute (gnc-dmy2time64 01 01 2000)))
       (set-option! options "General" "End Date" (cons 'absolute (gnc-dmy2time64 31 12 2000)))
-      (set-option! options "General" "Common Currency" #t)
+      (set-option! options "Currency" "Common Currency" #t)
       (set-option! options "Currency" "Show original currency amount" #t)
       (let* ((sxml (options->sxml options "single column, with original currency headers")))
         (test-equal "single amount column, with original currency headers"
@@ -650,7 +650,7 @@
       ;; test debit/credit dual columns
       (set! options (default-testing-options))
       (set-option! options "Display" "Amount" 'double)
-      (set-option! options "General" "Common Currency" #t)
+      (set-option! options "Currency" "Common Currency" #t)
       (set-option! options "Currency" "Show original currency amount" #t)
       (set-option! options "Sorting" "Primary Key" 'date)
       (set-option! options "Sorting" "Primary Subtotal for Date Key" 'none)
@@ -893,8 +893,8 @@
       (set-option! options "General" "End Date"
                    (cons 'absolute (gnc-dmy2time64 31 12 1970)))
       (set-option! options "Display" "Subtotal Table" #t)
-      (set-option! options "General" "Common Currency" #t)
-      (set-option! options "General" "Report Currency" foreign2)
+      (set-option! options "Currency" "Common Currency" #t)
+      (set-option! options "Currency" "Report Currency" foreign2)
       (set-option! options "Currency" "Show original currency amount" #t)
       (set-option! options "Sorting" "Primary Key" 'account-name)
       (set-option! options "Sorting" "Primary Subtotal" #t)



Summary of changes:
 gnucash/report/reports/standard/test/test-transaction.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list