summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneysecuritytest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneysecuritytest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneysecuritytest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/mymoney/mymoneysecuritytest.cpp b/kmymoney2/mymoney/mymoneysecuritytest.cpp
index 72911db..69be2ba 100644
--- a/kmymoney2/mymoney/mymoneysecuritytest.cpp
+++ b/kmymoney2/mymoney/mymoneysecuritytest.cpp
@@ -184,26 +184,26 @@ void MyMoneySecurityTest::testAccountIDList () {
institution.addAccountId("A000002");
list = institution.accountList();
CPPUNIT_ASSERT(list.count() == 1);
- CPPUNIT_ASSERT(list.tqcontains("A000002") == 1);
+ CPPUNIT_ASSERT(list.contains("A000002") == 1);
// adding same account shouldn't make a difference
institution.addAccountId("A000002");
list = institution.accountList();
CPPUNIT_ASSERT(list.count() == 1);
- CPPUNIT_ASSERT(list.tqcontains("A000002") == 1);
+ CPPUNIT_ASSERT(list.contains("A000002") == 1);
// now add another account
institution.addAccountId("A000001");
list = institution.accountList();
CPPUNIT_ASSERT(list.count() == 2);
- CPPUNIT_ASSERT(list.tqcontains("A000002") == 1);
- CPPUNIT_ASSERT(list.tqcontains("A000001") == 1);
+ CPPUNIT_ASSERT(list.contains("A000002") == 1);
+ CPPUNIT_ASSERT(list.contains("A000001") == 1);
id = institution.removeAccountId("A000001");
CPPUNIT_ASSERT(id == "A000001");
list = institution.accountList();
CPPUNIT_ASSERT(list.count() == 1);
- CPPUNIT_ASSERT(list.tqcontains("A000002") == 1);
+ CPPUNIT_ASSERT(list.contains("A000002") == 1);
}
*/