aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/backend-dbus/mock-accounts.cc12
-rw-r--r--tests/backend-dbus/mock-accounts.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/tests/backend-dbus/mock-accounts.cc b/tests/backend-dbus/mock-accounts.cc
index 2a0e7e7..c753c79 100644
--- a/tests/backend-dbus/mock-accounts.cc
+++ b/tests/backend-dbus/mock-accounts.cc
@@ -70,18 +70,6 @@ MockAccounts :: find_by_uid (guint64 uid)
}
MockUser *
-MockAccounts :: find_by_path (const char * path)
-{
- const path_to_user_t::iterator it (my_path_to_user.find(path));
-
- if (it != my_path_to_user.end())
- return it->second;
-
- g_warn_if_reached ();
- return 0;
-}
-
-MockUser *
MockAccounts :: find_by_username (const char * username)
{
const username_to_user_t::iterator it (my_username_to_user.find(username));
diff --git a/tests/backend-dbus/mock-accounts.h b/tests/backend-dbus/mock-accounts.h
index 95da102..8032441 100644
--- a/tests/backend-dbus/mock-accounts.h
+++ b/tests/backend-dbus/mock-accounts.h
@@ -40,7 +40,6 @@ class MockAccounts: public MockObject
void remove_user (MockUser * user);
size_t size() const { return my_users.size(); }
MockUser * find_by_uid (guint64 uid);
- MockUser * find_by_path (const char * path);
MockUser * find_by_username (const char * username);
private: