Corrected some of the counts in PluginManagerTests so we can see why they start

failing when they do start failing again (upon inspecton of the returned
collections the current counts seem to reflect reality)
This commit is contained in:
Sebastiaan Janssen
2012-10-12 12:45:31 -02:00
parent f6c51205fc
commit 1b71c66256

View File

@@ -75,14 +75,14 @@ namespace Umbraco.Tests
public void Resolves_Attributed_Trees()
{
var trees = PluginManager.Current.ResolveAttributedTrees();
Assert.AreEqual(26, trees.Count());
Assert.AreEqual(27, trees.Count());
}
[Test]
public void Resolves_Actions()
{
var actions = PluginManager.Current.ResolveActions();
Assert.AreEqual(36, actions.Count());
Assert.AreEqual(37, actions.Count());
}
[Test]
@@ -110,14 +110,14 @@ namespace Umbraco.Tests
public void Resolves_DataTypes()
{
var types = PluginManager.Current.ResolveDataTypes();
Assert.AreEqual(36, types.Count());
Assert.AreEqual(37, types.Count());
}
[Test]
public void Resolves_RazorDataTypeModels()
{
var types = PluginManager.Current.ResolveRazorDataTypeModels();
Assert.AreEqual(1, types.Count());
Assert.AreEqual(2, types.Count());
}
[Test]