diff --git a/xbmc/test/TestUtils.cpp b/xbmc/test/TestUtils.cpp index ea2b0132c4e7c..754dc58f43a9e 100644 --- a/xbmc/test/TestUtils.cpp +++ b/xbmc/test/TestUtils.cpp @@ -118,9 +118,10 @@ bool CXBMCTestUtils::SetReferenceFileBasePath() if (xbmcPath.empty()) return false; - /* Set xbmc path and xbmcbin path */ + /* Set xbmc, xbmcbin and home path */ CSpecialProtocol::SetXBMCPath(xbmcPath); CSpecialProtocol::SetXBMCBinPath(xbmcPath); + CSpecialProtocol::SetHomePath(URIUtils::AddFileToFolder(xbmcPath, "portable_data")); return true; }