summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneytransactiontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneytransactiontest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneytransactiontest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/mymoney/mymoneytransactiontest.cpp b/kmymoney2/mymoney/mymoneytransactiontest.cpp
index b69ade8..155dfe0 100644
--- a/kmymoney2/mymoney/mymoneytransactiontest.cpp
+++ b/kmymoney2/mymoney/mymoneytransactiontest.cpp
@@ -49,7 +49,7 @@ void MyMoneyTransactionTest::testConstructor() {
MyMoneyTransaction a("ID", *m);
CPPUNIT_ASSERT(a.id() == "ID");
- CPPUNIT_ASSERT(a.entryDate() == TQDate::currentDate());
+ CPPUNIT_ASSERT(a.entryDate() == TQDate::tqcurrentDate());
CPPUNIT_ASSERT(a.memo() == "Memo");
CPPUNIT_ASSERT(a.postDate() == TQDate(1,2,3));
}
@@ -62,7 +62,7 @@ void MyMoneyTransactionTest::testCopyConstructor() {
MyMoneyTransaction n(a);
CPPUNIT_ASSERT(n.id() == "ID");
- CPPUNIT_ASSERT(n.entryDate() == TQDate::currentDate());
+ CPPUNIT_ASSERT(n.entryDate() == TQDate::tqcurrentDate());
CPPUNIT_ASSERT(n.memo() == "Memo");
CPPUNIT_ASSERT(n.postDate() == TQDate(1,2,3));
CPPUNIT_ASSERT(n.value("Key") == "Value");
@@ -78,7 +78,7 @@ void MyMoneyTransactionTest::testAssignmentConstructor() {
n = a;
CPPUNIT_ASSERT(n.id() == "ID");
- CPPUNIT_ASSERT(n.entryDate() == TQDate::currentDate());
+ CPPUNIT_ASSERT(n.entryDate() == TQDate::tqcurrentDate());
CPPUNIT_ASSERT(n.memo() == "Memo");
CPPUNIT_ASSERT(n.postDate() == TQDate(1,2,3));
CPPUNIT_ASSERT(n.value("Key") == "Value");