diff options
Diffstat (limited to 'kmymoney2/reports/querytabletest.cpp')
-rw-r--r-- | kmymoney2/reports/querytabletest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/reports/querytabletest.cpp b/kmymoney2/reports/querytabletest.cpp index b763276..f19832e 100644 --- a/kmymoney2/reports/querytabletest.cpp +++ b/kmymoney2/reports/querytabletest.cpp @@ -646,8 +646,8 @@ void QueryTableTest::testInvestment(void) CPPUNIT_ASSERT(rows.count() == 16); //this is to make sure that the dates of closing and opening balances and the balance numbers are ok - TQString openingDate = KGlobal::locale()->formatDate(TQDate(2004,1,1), true); - TQString closingDate = KGlobal::locale()->formatDate(TQDate(2005,9,1), true); + TQString openingDate = TDEGlobal::locale()->formatDate(TQDate(2004,1,1), true); + TQString closingDate = TDEGlobal::locale()->formatDate(TQDate(2005,9,1), true); CPPUNIT_ASSERT( html.find(openingDate + "</td><td class=\"left\"></td><td class=\"left\">"+i18n("Opening Balance")) > 0); CPPUNIT_ASSERT( html.find(closingDate + "</td><td class=\"left\"></td><td class=\"left\">"+i18n("Closing Balance")+"</td><td class=\"left\"></td><td class=\"value\"></td><td> -702.36</td></tr>") > 0); CPPUNIT_ASSERT( html.find(closingDate + "</td><td class=\"left\"></td><td class=\"left\">"+i18n("Closing Balance")+"</td><td class=\"left\"></td><td class=\"value\"></td><td> -705.69</td></tr>") > 0); |