summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp')
-rw-r--r--kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp
index d80c348..82b2cd1 100644
--- a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp
+++ b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp
@@ -96,7 +96,7 @@ void MyMoneyDatabaseMgrTest::testCreateDb() {
//"QSQLITE3&mode=single";
//"QMYSQL3&mode=single";
+ *it + "&mode=single";
- KSharedPtr <MyMoneyStorageSql> sql = m->connectToDatabase(m_url);
+ TDESharedPtr <MyMoneyStorageSql> sql = m->connectToDatabase(m_url);
CPPUNIT_ASSERT(0 != sql);
//tqDebug("Database driver is %s", sql->driverName().ascii());
// Clear the database, so there is a fresh start on each run.
@@ -116,7 +116,7 @@ void MyMoneyDatabaseMgrTest::testAttachDb() {
testCreateDb();
if (m_canOpen) {
MyMoneyFile::instance()->detachStorage();
- KSharedPtr <MyMoneyStorageSql> sql = m->connectToDatabase(m_url);
+ TDESharedPtr <MyMoneyStorageSql> sql = m->connectToDatabase(m_url);
CPPUNIT_ASSERT(sql);
int openStatus = sql->open(m_url, IO_ReadWrite);
CPPUNIT_ASSERT(0 == openStatus);