summaryrefslogtreecommitdiff
path: root/test/baseline/dir-payee.test
diff options
context:
space:
mode:
authorDiogo Trentini <diogotrentini@gmail.com>2020-09-16 22:38:01 -0300
committerMartin Michlmayr <tbm@cyrius.com>2021-02-02 17:45:10 +0800
commit5560b0c40f3986704df25095fcc485bcc1de9e5b (patch)
treef61df53eea9a57da82717409c89b1309f09ecd32 /test/baseline/dir-payee.test
parentebd2d8dd0865ef41d1931c5304cb42ee1b312cb7 (diff)
downloadfork-ledger-5560b0c40f3986704df25095fcc485bcc1de9e5b.tar.gz
fork-ledger-5560b0c40f3986704df25095fcc485bcc1de9e5b.tar.bz2
fork-ledger-5560b0c40f3986704df25095fcc485bcc1de9e5b.zip
Fix issues related to payees declared on posting's metadata
Payees declared on posting's metadata are now validated with `--check-payees` option. Also, their aliases are now considered on reports as well.
Diffstat (limited to 'test/baseline/dir-payee.test')
-rw-r--r--test/baseline/dir-payee.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/baseline/dir-payee.test b/test/baseline/dir-payee.test
index e5c7e5a1..eefd2d4c 100644
--- a/test/baseline/dir-payee.test
+++ b/test/baseline/dir-payee.test
@@ -8,6 +8,10 @@ payee Foo Bar Inc
A 10
B
+2012-03-26 * KFC
+ A 10 ; Payee: Kentucky Fried Chicken
+ B
+
2014-05-13 * UNHELPFUL PAYEE ; will be read as being 'Foo Bar Inc'
; UUID: 2a2e21d434356f886c84371eebac6e44f1337fda
A 20
@@ -16,6 +20,8 @@ payee Foo Bar Inc
test reg
12-Mar-25 KFC A 10 10
B -10 0
+12-Mar-26 KFC A 10 10
+ B -10 0
14-May-13 Foo Bar Inc A 20 20
B -20 0
end test