Be friendly
This commit is contained in:
@@ -587,7 +587,7 @@ namespace Umbraco.Tests.LegacyXmlPublishedCache
|
||||
{
|
||||
int id;
|
||||
if (int.TryParse(itemm.GetAttribute("id", ""), out id) == false)
|
||||
continue; // wtf?
|
||||
continue; // uh?
|
||||
var captured = itemm;
|
||||
var cacheValues = GetCacheValues(id, idd => ConvertFromXPathNavigator(captured));
|
||||
mediaList.Add(CreateFromCacheValues(cacheValues));
|
||||
|
||||
@@ -311,7 +311,7 @@ namespace Umbraco.Tests.Persistence.Repositories
|
||||
|
||||
Assert.AreEqual(4, contentType.PropertyTypes.Count());
|
||||
|
||||
// remove all templates - since they are not saved, they would break the (wtf) mapping code
|
||||
// remove all templates - since they are not saved, they would break the (!) mapping code
|
||||
contentType.AllowedTemplates = new ITemplate[0];
|
||||
|
||||
// there is NO mapping from display to contentType, but only from save
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Umbraco.Tests.Testing
|
||||
|
||||
// etc
|
||||
ComposeWeb();
|
||||
ComposeWtf();
|
||||
ComposeMisc();
|
||||
|
||||
// not sure really
|
||||
Compose(Composition);
|
||||
@@ -233,7 +233,7 @@ namespace Umbraco.Tests.Testing
|
||||
|
||||
}
|
||||
|
||||
protected virtual void ComposeWtf()
|
||||
protected virtual void ComposeMisc()
|
||||
{
|
||||
// what else?
|
||||
var runtimeStateMock = new Mock<IRuntimeState>();
|
||||
|
||||
Reference in New Issue
Block a user