From d47e49c230c2085008cdf87b71ebb98cb6ccb1cb Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 3 Oct 2019 08:06:16 +0800 Subject: [PATCH] [test-stress-options] add budget to test book the populated book has a budget. this enables more thorough testing of budget reports. --- .../report/standard-reports/test/test-stress-options.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnucash/report/standard-reports/test/test-stress-options.scm b/gnucash/report/standard-reports/test/test-stress-options.scm index 028441bd5b..26110ca76c 100644 --- a/gnucash/report/standard-reports/test/test-stress-options.scm +++ b/gnucash/report/standard-reports/test/test-stress-options.scm @@ -264,7 +264,9 @@ optionslist)) (define (tests) - (run-tests "with empty book") - (create-test-data) + ;; (run-tests "with empty book") + (let ((env (create-test-env)) + (account-alist (create-test-data))) + (gnc:create-budget-and-transactions env account-alist)) (create-test-invoice-data) (run-tests "on a populated book"))