summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-06-24 11:20:39 -0400
committerJesse Luehrs <doy@tozt.net>2018-06-24 11:20:39 -0400
commit2d115e33a28a5e8f98d18d371f1503760547674f (patch)
tree470aa3f6ae059d33b38e8114703c4fe67b92ba8a /t
parent191680ce49a2228710f0bfc6f6236e4f5bd0628b (diff)
downloadwww-ynab-2d115e33a28a5e8f98d18d371f1503760547674f.tar.gz
www-ynab-2d115e33a28a5e8f98d18d371f1503760547674f.zip
ensure a couple more fields are populated
Diffstat (limited to 't')
-rw-r--r--t/budget.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/budget.t b/t/budget.t
index f769cfc..3886365 100644
--- a/t/budget.t
+++ b/t/budget.t
@@ -97,6 +97,9 @@ is($transactions[0]->category_id, "33333333-3333-3333-3333-444444444444");
is($transactions[0]->transfer_account_id, undef);
is($transactions[0]->import_id, "YNAB:-98760:2018-06-18:1");
ok(!$transactions[0]->deleted);
+is($transactions[0]->account_name, "Checking Account");
+is($transactions[0]->payee_name, "the power company");
+is($transactions[0]->category_name, "Utilities");
is(scalar $transactions[0]->subtransactions, 0);
my @subtransactions = $transactions[2]->subtransactions;