summaryrefslogtreecommitdiff
path: root/tests/dbus/account-basics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/account-basics.cpp')
-rw-r--r--tests/dbus/account-basics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbus/account-basics.cpp b/tests/dbus/account-basics.cpp
index cf236b80..98f02854 100644
--- a/tests/dbus/account-basics.cpp
+++ b/tests/dbus/account-basics.cpp
@@ -205,7 +205,7 @@ void TestAccountBasics::testBasics()
QStringList paths;
QString accPath(QLatin1String("/org/freedesktop/Telepathy/Account/foo/bar/Account0"));
QCOMPARE(pathsForAccounts(mAM->allAccounts()), QStringList() << accPath);
- QList<AccountPtr> accs = mAM->accountsForPaths(
+ QList<AccountPtr> accs = mAM->accountsForObjectPaths(
QStringList() << accPath << QLatin1String("/invalid/path"));
QCOMPARE(accs.size(), 2);
QCOMPARE(accs[0]->objectPath(), accPath);