Remove unnecessary 'request' prefixes
[profile/ivi/ofono-qt.git] / tests / test_ofonophonebook.cpp
index a5501cc..672bf23 100644 (file)
@@ -46,7 +46,7 @@ private slots:
     void initTestCase()
     {
 //     m = new OfonoPhonebook("/isimodem0", this);
-       m = new OfonoPhonebook(QString(), this);
+       m = new OfonoPhonebook(OfonoModem::AutomaticSelect, QString(), this);
        connect(m, SIGNAL(validityChanged(bool)), this, SLOT(validityChanged(bool)));
     connect(m, SIGNAL(importComplete(bool, QString)),
            this, SLOT(importComplete(bool, QString)));
@@ -55,7 +55,7 @@ private slots:
     void testOfonoPhonebook()
     {
        qDebug() << "validity" << m->isValid();
-       m->requestImport();
+       m->import();
     QTest::qWait(120000);
     }