summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/unittests/mockDevices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/daemon/unittests/mockDevices.cpp')
-rw-r--r--p2pvr/daemon/unittests/mockDevices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/daemon/unittests/mockDevices.cpp b/p2pvr/daemon/unittests/mockDevices.cpp
index 12203b0..5ff2cb9 100644
--- a/p2pvr/daemon/unittests/mockDevices.cpp
+++ b/p2pvr/daemon/unittests/mockDevices.cpp
@@ -7,13 +7,13 @@ namespace P2PVR {
MockDevices::MockDevices(Ice::CommunicatorPtr c) :
ic(c)
{
- devices.push_back("/dev/dvb/dummy");
+ devices.push_back("/dev/null");
}
TunerPtr
- MockDevices::openTuner(const boost::filesystem::path &) const
+ MockDevices::openTuner(const boost::filesystem::path & path) const
{
- return new MockTuner(ic);
+ return new MockTuner(path, ic);
}
}
}