diff --git a/src/Umbraco.Core/Configuration/UmbracoConfig.cs b/src/Umbraco.Core/Configuration/UmbracoConfig.cs index 02f6868afc..cb82582c7e 100644 --- a/src/Umbraco.Core/Configuration/UmbracoConfig.cs +++ b/src/Umbraco.Core/Configuration/UmbracoConfig.cs @@ -83,14 +83,20 @@ namespace Umbraco.Core.Configuration return _dashboardSection; } - //ONLY for unit testing + /// + /// Only for testing + /// + /// internal void SetDashboardSettings(IDashboardSection value) { _dashboardSection = value; } - //ONLY for unit testing - internal void SetUmbracoSettings(IUmbracoSettingsSection value) + /// + /// Only for testing + /// + /// + public void SetUmbracoSettings(IUmbracoSettingsSection value) { _umbracoSettings = value; } @@ -110,7 +116,10 @@ namespace Umbraco.Core.Configuration return _umbracoSettings; } - //ONLY for unit testing + /// + /// Only for testing + /// + /// public void SetBaseRestExtensions(IBaseRestSection value) { _baseRestExtensions = value; diff --git a/src/Umbraco.Core/Models/Property.cs b/src/Umbraco.Core/Models/Property.cs index 8ba30665d0..b618f84341 100644 --- a/src/Umbraco.Core/Models/Property.cs +++ b/src/Umbraco.Core/Models/Property.cs @@ -84,7 +84,7 @@ namespace Umbraco.Core.Models /// Returns the PropertyType, which this Property is based on /// [IgnoreDataMember] - internal PropertyType PropertyType { get { return _propertyType; } } + public PropertyType PropertyType { get { return _propertyType; } } /// /// Gets or Sets the version id for the Property