From 309ca0a7653da55ca1cdd9fa96de05b1f04d3d66 Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 31 Jul 2018 13:41:38 +0200 Subject: [PATCH] Fix tests after merge (loadPackager tree is gone) --- src/Umbraco.Tests/Composing/TypeLoaderTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Tests/Composing/TypeLoaderTests.cs b/src/Umbraco.Tests/Composing/TypeLoaderTests.cs index 46f024429e..09411f6d20 100644 --- a/src/Umbraco.Tests/Composing/TypeLoaderTests.cs +++ b/src/Umbraco.Tests/Composing/TypeLoaderTests.cs @@ -279,7 +279,7 @@ AnotherContentFinder public void Resolves_Trees() { var trees = _typeLoader.GetTrees(); - Assert.AreEqual(4, trees.Count()); + Assert.AreEqual(3, trees.Count()); } [Test] @@ -288,7 +288,7 @@ AnotherContentFinder var types = _typeLoader.GetDataEditors(); Assert.AreEqual(43, types.Count()); } - + /// /// This demonstrates this issue: http://issues.umbraco.org/issue/U4-3505 - the TypeList was returning a list of assignable types /// not explicit types which is sort of ideal but is confusing so we'll do it the less confusing way.