fixes tests

This commit is contained in:
Shannon
2015-07-24 12:54:59 +02:00
parent 293568228c
commit ee36a46d51

View File

@@ -49,7 +49,7 @@ namespace Umbraco.Tests.UmbracoExamine
}
if (mediaService == null)
{
int totalRecs;
long totalRecs;
var allRecs = dataService.MediaService.GetLatestMediaByXpath("//node")
.Root
@@ -74,7 +74,7 @@ namespace Umbraco.Tests.UmbracoExamine
mediaService = Mock.Of<IMediaService>(
x => x.GetPagedDescendants(
It.IsAny<int>(), It.IsAny<int>(), It.IsAny<int>(), out totalRecs, It.IsAny<string>(), It.IsAny<Direction>(), It.IsAny<string>())
It.IsAny<int>(), It.IsAny<long>(), It.IsAny<int>(), out totalRecs, It.IsAny<string>(), It.IsAny<Direction>(), It.IsAny<string>())
==
allRecs);
}