Started writing NiceUrlProvider unit tests as there are a bunch of issues with it. Have fixed one of them.
Updated unit test hierarchy of classes so that if one doesn't require a db it can opt out and thus it runs much much faster.
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Umbraco.Tests.DynamicDocument
|
||||
protected override dynamic GetDynamicNode(int id)
|
||||
{
|
||||
var template = Template.MakeNew("test", new User(0));
|
||||
var ctx = GetUmbracoContext("/test", template);
|
||||
var ctx = GetUmbracoContext("/test", template.Id);
|
||||
var contentStore = new XmlPublishedContentStore();
|
||||
var node = new DynamicNode(
|
||||
new DynamicBackingItem(
|
||||
|
||||
Reference in New Issue
Block a user