diff options
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp index c4505e3..94d98f5 100644 --- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp +++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp @@ -383,7 +383,7 @@ void MyMoneySeqAccessMgrTest::testModifyAccount() { delete e; } - // use different tqparent + // use different parent a.setParentAccountId("A000002"); try { m->modifyAccount(c); @@ -460,18 +460,18 @@ void MyMoneySeqAccessMgrTest::testReparentAccount() { CPPUNIT_ASSERT(in.id() == "A000005"); CPPUNIT_ASSERT(ch.id() == "A000006"); - MyMoneyAccount tqparent = m->expense(); + MyMoneyAccount parent = m->expense(); - m->addAccount(tqparent, ex1); + m->addAccount(parent, ex1); m->addAccount(ex1, ex2); - m->addAccount(tqparent, ex3); - m->addAccount(tqparent, ex4); + m->addAccount(parent, ex3); + m->addAccount(parent, ex4); - tqparent = m->income(); - m->addAccount(tqparent, in); + parent = m->income(); + m->addAccount(parent, in); - tqparent = m->asset(); - m->addAccount(tqparent, ch); + parent = m->asset(); + m->addAccount(parent, ch); CPPUNIT_ASSERT(m->expense().accountCount() == 3); CPPUNIT_ASSERT(m->account(ex1.id()).accountCount() == 1); |