diff --git a/tests/test_meta_invoice.py b/tests/test_meta_invoice.py index 4cd70e1665c2459284f20712eb371cdb934928d6..1d23aff2ead09c748289c81b206ad86f09ad9f11 100644 --- a/tests/test_meta_invoice.py +++ b/tests/test_meta_invoice.py @@ -142,5 +142,5 @@ def test_missing_invoice(hook, acct1, acct2): assert actual == {"{} missing {}".format(acct1, TEST_KEY)} def test_not_required_on_opening(hook): - txn = testutil.Transaction.opening_balance() + txn = testutil.OpeningBalance() assert not list(hook.run(txn))