Fixes up some v7 failing tests.

This commit is contained in:
Shannon
2013-08-09 12:10:42 +10:00
parent 01510ce126
commit f4bd10065e
6 changed files with 15 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ namespace Umbraco.Core.Models
else
{
//NOTE: An exception will be thrown if this doesn't exist
var legacyDataType = property.PropertyType.DataType(property.Id, ApplicationContext.Current.Services.DataTypeService);
var legacyDataType = property.PropertyType.DataType(property.Id, dataTypeService);
//We've already got the value for the property so we're going to give it to the
// data type's data property so it doesn't go re-look up the value from the db again.