summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/unittests/testStorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/daemon/unittests/testStorage.cpp')
-rw-r--r--p2pvr/daemon/unittests/testStorage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/daemon/unittests/testStorage.cpp b/p2pvr/daemon/unittests/testStorage.cpp
index e7eee95..f186f4f 100644
--- a/p2pvr/daemon/unittests/testStorage.cpp
+++ b/p2pvr/daemon/unittests/testStorage.cpp
@@ -9,7 +9,7 @@
#include <si.h>
#include <storage.h>
#include <boost/lexical_cast.hpp>
-#include <commonHelpers.h>
+#include <chronoHelpers.h>
#include <definedDirs.h>
#include "mockDefs.h"
@@ -37,9 +37,9 @@ BOOST_FIXTURE_TEST_SUITE( StCore, TestClient );
static
void
-runTest(RecordingsPrx recordings, StoragePrx storage)
+runTest(RecordingsPrxPtr recordings, StoragePrxPtr storage)
{
- auto id = recordings->NewRecording(new Recording(0, 8, 2556));
+ auto id = recordings->NewRecording(std::make_shared<Recording>(0, 8, 2556));
auto rdc = storage->OpenForWrite(id);
BOOST_REQUIRE(rdc);
auto stats1 = storage->GetVideoStats(id);