Took out the provider locator code as it is not needed.

This commit is contained in:
Lars Brubaker 2015-07-17 16:45:24 -07:00
parent b80ab532d8
commit 6f0b443bb3
6 changed files with 3 additions and 64 deletions

View file

@ -79,8 +79,6 @@ namespace MatterControl.Tests
Assert.IsTrue(Directory.Exists(createdDirectory));
PrintItemWrapper itemAtRoot = testProvider.GetPrintItemWrapperAsync(0).Result;
List<ProviderLocatorNode> providerLocator = itemAtRoot.PrintItem.GetLibraryProviderLocator();
Assert.IsTrue(providerLocator.Count == 1);
// add an item works correctly
LibraryProvider subProvider = testProvider.GetProviderForItem(testProvider.GetCollectionItem(0));
@ -138,8 +136,6 @@ namespace MatterControl.Tests
Assert.IsTrue(NamedCollectionExists(collectionName)); // assert that the record does exist in the DB
PrintItemWrapper itemAtRoot = testProvider.GetPrintItemWrapperAsync(0).Result;
List<ProviderLocatorNode> providerLocator = itemAtRoot.PrintItem.GetLibraryProviderLocator();
Assert.IsTrue(providerLocator.Count == 1);
// add an item works correctly
dataReloaded = false;