updated to use constant
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
|
||||
return new OptionalInnerTextConfigurationElement<string>(
|
||||
(InnerTextConfigurationElement<string>)this["DefaultBackofficeProvider"],
|
||||
//set the default
|
||||
"UsersMembershipProvider");
|
||||
Constants.Conventions.User.UmbracoUsersProviderName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Core;
|
||||
|
||||
namespace Umbraco.Tests.Configurations.UmbracoSettings
|
||||
{
|
||||
@@ -8,7 +9,7 @@ namespace Umbraco.Tests.Configurations.UmbracoSettings
|
||||
[Test]
|
||||
public void Users()
|
||||
{
|
||||
Assert.IsTrue(SettingsSection.Providers.DefaultBackOfficeUserProvider == "UsersMembershipProvider");
|
||||
Assert.IsTrue(SettingsSection.Providers.DefaultBackOfficeUserProvider == Constants.Conventions.User.UmbracoUsersProviderName);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user